Fix migrations to use unique key

This commit is contained in:
Matthias
2020-08-13 16:18:03 +02:00
parent 2ca6547baf
commit 1a305ea8b0
3 changed files with 6 additions and 4 deletions

View File

@@ -1396,7 +1396,7 @@ def test_handle_stoploss_on_exchange_trailing(mocker, default_conf, fee,
}))
cancel_order_mock = MagicMock()
stoploss_order_mock = MagicMock()
stoploss_order_mock = MagicMock(return_value={'id': 13434334})
mocker.patch('freqtrade.exchange.Exchange.cancel_stoploss_order', cancel_order_mock)
mocker.patch('freqtrade.exchange.Exchange.stoploss', stoploss_order_mock)