Slightly improve test
This commit is contained in:
parent
1ff1e3b43d
commit
ea8fda0dee
@ -492,7 +492,9 @@ def test_fill_leverage_tiers_binance_dryrun(default_conf, mocker, leverage_tiers
|
||||
exchange.fill_leverage_tiers()
|
||||
assert len(exchange._leverage_tiers.keys()) > 100
|
||||
for key, value in leverage_tiers.items():
|
||||
assert isinstance(exchange._leverage_tiers[key], list)
|
||||
v = exchange._leverage_tiers[key]
|
||||
assert isinstance(v, list)
|
||||
assert len(v) == len(value)
|
||||
|
||||
|
||||
def test__set_leverage_binance(mocker, default_conf):
|
||||
|
Loading…
Reference in New Issue
Block a user