From 1eebbebed100e3c55a0529e32e27466c9d2edffc Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Fri, 26 Jan 2018 18:57:09 +0200 Subject: [PATCH] fix assert order --- freqtrade/tests/optimize/test_optimize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/tests/optimize/test_optimize.py b/freqtrade/tests/optimize/test_optimize.py index c69284c32..8a18b58e3 100644 --- a/freqtrade/tests/optimize/test_optimize.py +++ b/freqtrade/tests/optimize/test_optimize.py @@ -224,4 +224,4 @@ def test_tickerdata_to_dataframe(): tick = load_tickerdata_file(None, 'BTC_UNITEST', 1, timerange=timerange) tickerlist = {'BTC_UNITEST': tick} data = optimize.tickerdata_to_dataframe(tickerlist) - assert 100 == len(data['BTC_UNITEST']) + assert len(data['BTC_UNITEST']) == 100