test_optimize.py:

Added spaces for flake8 compliance.
This commit is contained in:
Michael Smith 2018-01-29 11:21:01 +08:00
parent b8f2341998
commit e438422a22
1 changed files with 3 additions and 3 deletions

View File

@ -202,12 +202,12 @@ def test_download_backtesting_testdata2(mocker):
def test_load_tickerdata_file():
#7 does not exist in either format.
# 7 does not exist in either format.
assert not load_tickerdata_file(None, 'BTC_UNITEST', 7)
#1 exists only as a .json
# 1 exists only as a .json
tickerdata = load_tickerdata_file(None, 'BTC_UNITEST', 1)
assert _BTC_UNITTEST_LENGTH == len(tickerdata)
#8 .json is empty and will fail if it's loaded. .json.gz is a copy of 1.json
# 8 .json is empty and will fail if it's loaded. .json.gz is a copy of 1.json
tickerdata = load_tickerdata_file(None, 'BTC_UNITEST', 8)
assert _BTC_UNITTEST_LENGTH == len(tickerdata)