fixed one more occurence of executed buy, and test

This commit is contained in:
Yazeed Al Oyoun
2020-02-11 16:14:49 +01:00
parent 4fedf1e564
commit 5f4c209fca
2 changed files with 2 additions and 2 deletions

View File

@@ -300,7 +300,7 @@ def test_edge_overrides_stoploss(limit_buy_order, fee, caplog, mocker, edge_conf
# stoploss shoud be hit
assert freqtrade.handle_trade(trade) is True
assert log_has('Executed Sell for NEO/BTC. Reason: SellType.STOP_LOSS', caplog)
assert log_has('Executing Sell for NEO/BTC. Reason: SellType.STOP_LOSS', caplog)
assert trade.sell_reason == SellType.STOP_LOSS.value