From e2d81b0ce0afd6e3c2ed007082d7ac70c27a3ed0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 7 Feb 2023 19:45:37 +0100 Subject: [PATCH] Skip binanceus ccxt test --- tests/exchange/test_ccxt_compat.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/exchange/test_ccxt_compat.py b/tests/exchange/test_ccxt_compat.py index c4757288d..86a44bbe9 100644 --- a/tests/exchange/test_ccxt_compat.py +++ b/tests/exchange/test_ccxt_compat.py @@ -468,9 +468,13 @@ class TestCCXTExchange(): def test_ccxt__async_get_candle_history(self, exchange: EXCHANGE_FIXTURE_TYPE): exc, exchangename = exchange - # For some weired reason, this test returns random lengths for bittrex. - if not exc._ft_has['ohlcv_has_history'] or exchangename in ('bittrex'): - return + 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. + 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'] timeframe = EXCHANGES[exchangename]['timeframe'] self.ccxt__async_get_candle_history(