Remove duplicate call to init_db

This commit is contained in:
Matthias 2022-03-03 07:23:10 +01:00
parent 5ab72ac082
commit 1d3ce5bef4

View File

@ -179,7 +179,6 @@ def patch_freqtradebot(mocker, config) -> None:
:return: None
"""
mocker.patch('freqtrade.freqtradebot.RPCManager', MagicMock())
init_db(config['db_url'])
patch_exchange(mocker)
mocker.patch('freqtrade.freqtradebot.RPCManager._init', MagicMock())
mocker.patch('freqtrade.freqtradebot.RPCManager.send_msg', MagicMock())