mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #57 from shusso/fix-backtest-path
fix incorrect backtest testdata path
This commit is contained in:
commit
f78427d236
|
@ -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