fix unitest file for 30 minutes ticker

This commit is contained in:
Jean-Baptiste LE STANG 2018-01-12 17:06:26 +01:00
parent e2e2005567
commit a0df566b2b
2 changed files with 3 additions and 2 deletions

View File

@ -48,9 +48,9 @@ def test_load_data_30min_ticker(default_conf, ticker_history, mocker, caplog):
exchange._API = Bittrex({'key': '', 'secret': ''})
file = 'freqtrade/tests/testdata/BTC_ETH-30.json'
file = 'freqtrade/tests/testdata/BTC_UNITTEST-30.json'
_backup_file(file, copy_file=True)
optimize.load_data(None, pairs=['BTC_ETH'], ticker_interval=30)
optimize.load_data(None, pairs=['BTC_UNITTEST'], ticker_interval=30)
assert os.path.isfile(file) is True
assert ('freqtrade.optimize',
logging.INFO,

File diff suppressed because one or more lines are too long