updated test_load_leverage_tiers_okx

This commit is contained in:
Sam Germain 2022-02-25 12:58:47 -06:00
parent b71fb1fdec
commit af77358d6a

View File

@ -177,8 +177,7 @@ def test_load_leverage_tiers_okx(default_conf, mocker, markets):
'fetchMarketLeverageTiers': True,
})
api_mock.fetch_market_leverage_tiers = MagicMock(side_effect=[
{
'ADA/USDT:USDT': [
[
{
'tier': 1,
'notionalFloor': 0,
@ -239,10 +238,8 @@ def test_load_leverage_tiers_okx(default_conf, mocker, markets):
'uly': 'ADA-USDT'
}
},
]
},
{
'ETH/USDT:USDT': [
],
[
{
'tier': 1,
'notionalFloor': 0,
@ -304,7 +301,6 @@ def test_load_leverage_tiers_okx(default_conf, mocker, markets):
}
},
]
},
])
default_conf['trading_mode'] = 'futures'
default_conf['margin_mode'] = 'isolated'