mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Add mid-state test
This commit is contained in:
parent
362a40db6f
commit
cbd10309f5
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user