fix incorrect backtest testdata path

This commit is contained in:
Samuel Husso 2017-10-06 10:50:48 +03:00
parent 11f97ccf87
commit e0896fdd7b

View File

@ -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)