Reduce error severity when maintenance-ratio fails

This commit is contained in:
Matthias
2023-05-02 21:36:36 +02:00
parent f419d7870d
commit 13974d2508
2 changed files with 3 additions and 3 deletions

View File

@@ -4932,7 +4932,7 @@ def test_get_maintenance_ratio_and_amt_exceptions(mocker, default_conf, leverage
exchange._leverage_tiers = leverage_tiers
with pytest.raises(
OperationalException,
DependencyException,
match='nominal value can not be lower than 0',
):
exchange.get_maintenance_ratio_and_amt('1000SHIB/USDT:USDT', -1)