Add migrations end message

closes #7251
This commit is contained in:
Matthias
2022-08-19 06:39:51 +02:00
parent 70a77ba3d9
commit 76a3e97e05
2 changed files with 7 additions and 0 deletions

View File

@@ -1387,6 +1387,7 @@ def test_migrate_new(mocker, default_conf, fee, caplog):
assert log_has("trying trades_bak2", caplog)
assert log_has("Running database migration for trades - backup: trades_bak2, orders_bak0",
caplog)
assert log_has("Database migration finished.", caplog)
assert pytest.approx(trade.open_trade_value) == trade._calc_open_trade_value(
trade.amount, trade.open_rate)
assert trade.close_profit_abs is None