Update missing mocks

This commit is contained in:
Matthias
2023-03-02 06:46:17 +01:00
parent feabed30a3
commit ba38a826e9
2 changed files with 3 additions and 3 deletions

View File

@@ -5241,7 +5241,7 @@ def test_get_liquidation_price(
default_conf_usdt['trading_mode'] = trading_mode
default_conf_usdt['exchange']['name'] = exchange_name
default_conf_usdt['margin_mode'] = margin_mode
mocker.patch('freqtrade.exchange.Gate.validate_ordertypes')
mocker.patch('freqtrade.exchange.gate.Gate.validate_ordertypes')
exchange = get_patched_exchange(mocker, default_conf_usdt, id=exchange_name)
exchange.get_maintenance_ratio_and_amt = MagicMock(return_value=(0.01, 0.01))