Skip binanceus ccxt test
This commit is contained in:
parent
c15e10fe1f
commit
e2d81b0ce0
@ -468,9 +468,13 @@ class TestCCXTExchange():
|
|||||||
|
|
||||||
def test_ccxt__async_get_candle_history(self, exchange: EXCHANGE_FIXTURE_TYPE):
|
def test_ccxt__async_get_candle_history(self, exchange: EXCHANGE_FIXTURE_TYPE):
|
||||||
exc, exchangename = exchange
|
exc, exchangename = exchange
|
||||||
# For some weired reason, this test returns random lengths for bittrex.
|
if exchangename in ('binanceus', 'bittrex'):
|
||||||
if not exc._ft_has['ohlcv_has_history'] or exchangename in ('bittrex'):
|
# TODO: reenable binanceus test once downtime "ages out" (2023-02-06)
|
||||||
return
|
# For some weired reason, this test returns random lengths for bittrex.
|
||||||
|
pytest.skip("Exchange doesn't provide stable ohlcv history")
|
||||||
|
|
||||||
|
if not exc._ft_has['ohlcv_has_history']:
|
||||||
|
pytest.skip("Exchange does not support candle history")
|
||||||
pair = EXCHANGES[exchangename]['pair']
|
pair = EXCHANGES[exchangename]['pair']
|
||||||
timeframe = EXCHANGES[exchangename]['timeframe']
|
timeframe = EXCHANGES[exchangename]['timeframe']
|
||||||
self.ccxt__async_get_candle_history(
|
self.ccxt__async_get_candle_history(
|
||||||
|
Loading…
Reference in New Issue
Block a user