add day counter to timeframe

This commit is contained in:
Janne Sinivirta
2018-01-26 11:25:35 +02:00
parent b7e297ebda
commit a7a7c37121
2 changed files with 6 additions and 2 deletions

View File

@@ -193,7 +193,8 @@ def test_backtest_start(default_conf, mocker, caplog):
# check the logs, that will contain the backtest result
exists = ['Using max_open_trades: 1 ...',
'Using stake_amount: 0.001 ...',
'Measuring data from 2017-11-14T21:17:00+00:00 up to 2017-11-14T22:59:00+00:00 ...']
'Measuring data from 2017-11-14T21:17:00+00:00 '
'up to 2017-11-14T22:59:00+00:00 (0 days)..']
for line in exists:
assert ('freqtrade.optimize.backtesting',
logging.INFO,