Adjust ohlcv test after rebase

This commit is contained in:
Matthias 2020-12-23 15:50:24 +01:00
parent b39de171c8
commit 5599490aa2
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ class TestCCXTExchange():
timeframe = EXCHANGES[exchangename]['timeframe']
pair_tf = (pair, timeframe)
ohlcv = exchange.refresh_latest_ohlcv([pair_tf])
assert isinstance(ohlcv, list)
assert isinstance(ohlcv, dict)
assert len(ohlcv[pair_tf]) == len(exchange.klines(pair_tf))
assert len(exchange.klines(pair_tf)) > 200
# TODO: tests fetch_trades (?)