mock get_max_pair_stake_amount in test_execute_entry

This commit is contained in:
Sam Germain 2022-02-07 04:54:22 -06:00
parent 18b4d0be95
commit fe56c8c91e

View File

@ -776,6 +776,7 @@ def test_execute_entry(mocker, default_conf_usdt, fee, limit_order,
}), }),
create_order=enter_mm, create_order=enter_mm,
get_min_pair_stake_amount=MagicMock(return_value=1), get_min_pair_stake_amount=MagicMock(return_value=1),
get_max_pair_stake_amount=MagicMock(return_value=500000),
get_fee=fee, get_fee=fee,
get_funding_fees=MagicMock(return_value=0), get_funding_fees=MagicMock(return_value=0),
name=exchange_name, name=exchange_name,