fixe broken test_get_min_pair_stake_amount

This commit is contained in:
Sam Germain 2021-12-31 07:00:47 -06:00
parent 230dd15ee7
commit 48567a1301
1 changed files with 3 additions and 0 deletions

View File

@ -486,6 +486,9 @@ def test_get_min_pair_stake_amount(mocker, default_conf) -> None:
assert isclose(result, expected_result/12)
markets["ETH/BTC"]["contractSize"] = 0.01
default_conf['trading_mode'] = 'futures'
default_conf['collateral'] = 'isolated'
exchange = get_patched_exchange(mocker, default_conf, id="binance")
mocker.patch(
'freqtrade.exchange.Exchange.markets',
PropertyMock(return_value=markets)