Add mid-state test

This commit is contained in:
Matthias 2019-12-17 07:13:08 +01:00
parent 362a40db6f
commit cbd10309f5

View File

@ -641,6 +641,7 @@ def test_migrate_mid_state(mocker, default_conf, fee, caplog):
assert trade.max_rate == 0.0 assert trade.max_rate == 0.0
assert trade.stop_loss == 0.0 assert trade.stop_loss == 0.0
assert trade.initial_stop_loss == 0.0 assert trade.initial_stop_loss == 0.0
assert trade.open_trade_price == trade._calc_open_trade_price()
assert log_has("trying trades_bak0", caplog) assert log_has("trying trades_bak0", caplog)
assert log_has("Running database migration - backup available as trades_bak0", caplog) assert log_has("Running database migration - backup available as trades_bak0", caplog)