Fix tests and flake8

This commit is contained in:
Matthias
2018-08-07 08:56:06 +02:00
parent 3ce4d20ab9
commit 255f303850
2 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ def patch_get_signal(freqtrade: FreqtradeBot, value=(True, False)) -> None:
"""
freqtrade.strategy.get_signal = lambda e, s, t: value
freqtrade.exchange.get_candle_history = lambda p, i: None
freqtrade.exchange.refresh_tickers = lambda pl, i: {}
freqtrade.refresh_tickers = lambda i: True
def patch_RPCManager(mocker) -> MagicMock: