fixe broken test_get_min_pair_stake_amount
This commit is contained in:
parent
230dd15ee7
commit
48567a1301
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user