stoploss on exchange canceled handled

This commit is contained in:
Misagh
2019-04-04 17:13:54 +02:00
parent 54f11ad603
commit a363d443bf
2 changed files with 63 additions and 31 deletions

View File

@@ -1036,7 +1036,7 @@ def test_handle_stoploss_on_exchange(mocker, default_conf, fee, caplog,
side_effect=DependencyException()
)
freqtrade.handle_stoploss_on_exchange(trade)
assert log_has('Unable to create stoploss order: ', caplog.record_tuples)
assert log_has('Unable to place a stoploss order on exchange: ', caplog.record_tuples)
def test_handle_stoploss_on_exchange_trailing(mocker, default_conf, fee, caplog,