fix incorrect backtest testdata path
This commit is contained in:
parent
11f97ccf87
commit
e0896fdd7b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user