expanded test_load_leverage_tiers

This commit is contained in:
Sam Germain
2022-02-16 04:37:11 -06:00
parent 3bfd9186f7
commit 3fe0e13bb1
2 changed files with 59 additions and 1 deletions

View File

@@ -75,5 +75,5 @@ def test_get_maintenance_ratio_and_amt_gateio(default_conf, mocker, pair, mm_rat
])
def test_get_max_leverage_gateio(default_conf, mocker, pair, nominal_value, max_lev):
# Binance has a different method of getting the max leverage
exchange = get_patched_exchange(mocker, default_conf, id="kraken")
exchange = get_patched_exchange(mocker, default_conf, id="gateio")
assert exchange.get_max_leverage(pair, nominal_value) == max_lev