Also check 0 open trades

This commit is contained in:
Matthias 2019-08-13 10:34:27 +02:00
parent 0a07dfc5cf
commit 9d476b5ab2

View File

@ -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)