diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index 84916622a..0cb2d46f5 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -781,6 +781,7 @@ def test_execute_entry(mocker, default_conf_usdt, fee, limit_order, get_funding_fees=MagicMock(return_value=0), name=exchange_name, get_maintenance_ratio_and_amt=MagicMock(return_value=(0.01, 0.01)), + get_max_leverage=MagicMock(return_value=10), ) mocker.patch.multiple( 'freqtrade.exchange.Okex',