From 5599490aa286675d57dfe3860330faf5af23c402 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 23 Dec 2020 15:50:24 +0100 Subject: [PATCH] Adjust ohlcv test after rebase --- tests/exchange/test_ccxt_compat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/exchange/test_ccxt_compat.py b/tests/exchange/test_ccxt_compat.py index 90cdebcdd..6d495582b 100644 --- a/tests/exchange/test_ccxt_compat.py +++ b/tests/exchange/test_ccxt_compat.py @@ -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 (?)