From 272ff51d512d0c06832812f985744a7cbea72719 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 6 Nov 2018 20:37:59 +0100 Subject: [PATCH] correctly patch exchange --- freqtrade/tests/optimize/test_backtesting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/tests/optimize/test_backtesting.py b/freqtrade/tests/optimize/test_backtesting.py index e03e011f3..aa1f144cd 100644 --- a/freqtrade/tests/optimize/test_backtesting.py +++ b/freqtrade/tests/optimize/test_backtesting.py @@ -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)