Also check 0 open trades
This commit is contained in:
parent
0a07dfc5cf
commit
9d476b5ab2
@ -697,7 +697,7 @@ def test_create_trade_no_signal(default_conf, fee, mocker) -> None:
|
||||
assert not freqtrade.create_trade()
|
||||
|
||||
|
||||
@pytest.mark.parametrize("max_open", range(1, 5))
|
||||
@pytest.mark.parametrize("max_open", range(0, 5))
|
||||
def test_create_trade_multiple_trades(default_conf, ticker,
|
||||
fee, markets, mocker, max_open) -> None:
|
||||
patch_RPCManager(mocker)
|
||||
|
Loading…
Reference in New Issue
Block a user