test_execute_entry mocks get_max_leverage

This commit is contained in:
Sam Germain 2022-02-10 03:44:37 -06:00
parent 41ab20d949
commit 9e599455e7

View File

@ -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',