fix assert order

This commit is contained in:
Janne Sinivirta 2018-01-26 18:57:09 +02:00
parent a5690e707d
commit 1eebbebed1

View File

@ -224,4 +224,4 @@ def test_tickerdata_to_dataframe():
tick = load_tickerdata_file(None, 'BTC_UNITEST', 1, timerange=timerange) tick = load_tickerdata_file(None, 'BTC_UNITEST', 1, timerange=timerange)
tickerlist = {'BTC_UNITEST': tick} tickerlist = {'BTC_UNITEST': tick}
data = optimize.tickerdata_to_dataframe(tickerlist) data = optimize.tickerdata_to_dataframe(tickerlist)
assert 100 == len(data['BTC_UNITEST']) assert len(data['BTC_UNITEST']) == 100