mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Skip load_leverage_tiers test from bybit
This commit is contained in:
parent
e86a0736f3
commit
15bcba9c7e
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue
Block a user