correctly patch exchange

This commit is contained in:
Matthias 2018-11-06 20:37:59 +01:00
parent 56dcf080a9
commit 272ff51d51

View File

@ -685,6 +685,7 @@ def test_backtest_multi_pair(default_conf, fee, mocker):
return dataframe
mocker.patch('freqtrade.exchange.Exchange.get_fee', fee)
patch_exchange(mocker)
pairs = ['ADA/BTC', 'DASH/BTC', 'ETH/BTC', 'LTC/BTC', 'NXT/BTC']
data = optimize.load_data(None, ticker_interval='5m', pairs=pairs)
data = trim_dictlist(data, -500)