Address feedback

This commit is contained in:
Matthias
2019-10-28 12:53:12 +01:00
parent 20dabd9c41
commit 73343b3387
2 changed files with 2 additions and 3 deletions

View File

@@ -129,8 +129,7 @@ def patch_freqtradebot(mocker, config) -> None:
patch_exchange(mocker)
mocker.patch('freqtrade.freqtradebot.RPCManager._init', MagicMock())
mocker.patch('freqtrade.freqtradebot.RPCManager.send_msg', MagicMock())
mocker.patch('freqtrade.freqtradebot.FreqtradeBot._refresh_whitelist',
MagicMock(return_value=config['exchange']['pair_whitelist']))
patch_whitelist(mocker, config)
def get_patched_freqtradebot(mocker, config) -> FreqtradeBot: