update db migrate script to work for more changes

This commit is contained in:
xmatthias
2018-06-27 19:49:08 +02:00
parent 8ecdae67e1
commit 860b270e30
2 changed files with 25 additions and 11 deletions

View File

@@ -400,6 +400,9 @@ def test_migrate_old(mocker, default_conf, fee):
assert trade.stake_amount == default_conf.get("stake_amount")
assert trade.pair == "ETC/BTC"
assert trade.exchange == "bittrex"
assert trade.max_rate == 0.0
assert trade.stop_loss == 0.0
assert trade.initial_stop_loss == 0.0
def test_migrate_new(mocker, default_conf, fee):