Remove unused 3rd argument to create_stoploss call

This commit is contained in:
Matthias
2020-08-12 11:21:00 +02:00
parent dda78677a0
commit 1f1a819b29
2 changed files with 5 additions and 7 deletions

View File

@@ -1301,7 +1301,7 @@ def test_create_stoploss_order_invalid_order(mocker, default_conf, caplog, fee,
freqtrade.enter_positions()
trade = Trade.query.first()
caplog.clear()
freqtrade.create_stoploss_order(trade, 200, 199)
freqtrade.create_stoploss_order(trade, 200)
assert trade.stoploss_order_id is None
assert trade.sell_reason == SellType.EMERGENCY_SELL.value
assert log_has("Unable to place a stoploss order on exchange. ", caplog)