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 = []
|
trades = []
|
||||||
mocker.patch.dict('freqtrade.main._CONF', conf)
|
mocker.patch.dict('freqtrade.main._CONF', conf)
|
||||||
for pair in pairs:
|
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)
|
data = json.load(data_file)
|
||||||
|
|
||||||
mocker.patch('freqtrade.analyze.get_ticker', return_value=data)
|
mocker.patch('freqtrade.analyze.get_ticker', return_value=data)
|
||||||
|
Loading…
Reference in New Issue
Block a user