Reenable stoploss_on_exchange for dry-run

This commit is contained in:
Matthias
2019-09-01 17:48:06 +02:00
parent a7e45c5a73
commit aae9c3194f
3 changed files with 6 additions and 10 deletions

View File

@@ -147,8 +147,7 @@ def test_order_dict_dry_run(default_conf, mocker, caplog) -> None:
}
freqtrade = FreqtradeBot(conf)
assert log_has("Disabling stoploss_on_exchange during dry-run.", caplog)
assert not freqtrade.strategy.order_types['stoploss_on_exchange']
assert freqtrade.strategy.order_types['stoploss_on_exchange']
caplog.clear()
# is left untouched