From 15bcba9c7ef81d45c75e4043045680dace60a2b4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 9 May 2024 19:49:52 +0200 Subject: [PATCH] Skip load_leverage_tiers test from bybit --- tests/exchange/test_exchange.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index e3440ad9b..615e119f4 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -4936,7 +4936,10 @@ def test_get_max_pair_stake_amount( @pytest.mark.parametrize('exchange_name', EXCHANGES) -def test_load_leverage_tiers(mocker, default_conf, leverage_tiers, exchange_name): +def test_load_leverage_tiers(mocker, default_conf, exchange_name): + if exchange_name == 'bybit': + # TODO: remove once get_leverage_tiers workaround has been removed. + pytest.skip("Currently skipping") api_mock = MagicMock() api_mock.fetch_leverage_tiers = MagicMock() type(api_mock).has = PropertyMock(return_value={'fetchLeverageTiers': True})