From e0896fdd7bb7ef3492d32f1477dfab288494dbd7 Mon Sep 17 00:00:00 2001 From: Samuel Husso Date: Fri, 6 Oct 2017 10:50:48 +0300 Subject: [PATCH] fix incorrect backtest testdata path --- freqtrade/tests/test_backtesting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/tests/test_backtesting.py b/freqtrade/tests/test_backtesting.py index dcb572157..293b752b4 100644 --- a/freqtrade/tests/test_backtesting.py +++ b/freqtrade/tests/test_backtesting.py @@ -44,7 +44,7 @@ def test_backtest(conf, pairs, mocker): trades = [] mocker.patch.dict('freqtrade.main._CONF', conf) for pair in pairs: - with open('tests/testdata/'+pair+'.json') as data_file: + with open('freqtrade/tests/testdata/'+pair+'.json') as data_file: data = json.load(data_file) mocker.patch('freqtrade.analyze.get_ticker', return_value=data)