Slightly improve test

This commit is contained in:
Matthias 2022-05-22 08:36:28 +02:00
parent 1ff1e3b43d
commit ea8fda0dee

View File

@ -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):