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
|
||||||
|
if exchangename in ('binanceus', 'bittrex'):
|
||||||
|
# TODO: reenable binanceus test once downtime "ages out" (2023-02-06)
|
||||||
# For some weired reason, this test returns random lengths for bittrex.
|
# For some weired reason, this test returns random lengths for bittrex.
|
||||||
if not exc._ft_has['ohlcv_has_history'] or exchangename in ('bittrex'):
|
pytest.skip("Exchange doesn't provide stable ohlcv history")
|
||||||
return
|
|
||||||
|
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