Merge pull request #1903 from freqtrade/fix/testfailure
Fix test-failure introduced in #1891
This commit is contained in:
commit
92113ce1c9
@ -96,7 +96,7 @@ def patch_freqtradebot(mocker, config) -> None:
|
||||
:return: None
|
||||
"""
|
||||
mocker.patch('freqtrade.freqtradebot.RPCManager', MagicMock())
|
||||
persistence.init(config)
|
||||
persistence.init(config['db_url'])
|
||||
patch_exchange(mocker, None)
|
||||
mocker.patch('freqtrade.freqtradebot.RPCManager._init', MagicMock())
|
||||
mocker.patch('freqtrade.freqtradebot.RPCManager.send_msg', MagicMock())
|
||||
|
Loading…
Reference in New Issue
Block a user