Adjust ohlcv test after rebase
This commit is contained in:
parent
b39de171c8
commit
5599490aa2
@ -115,7 +115,8 @@ class TestCCXTExchange():
|
|||||||
timeframe = EXCHANGES[exchangename]['timeframe']
|
timeframe = EXCHANGES[exchangename]['timeframe']
|
||||||
pair_tf = (pair, timeframe)
|
pair_tf = (pair, timeframe)
|
||||||
ohlcv = exchange.refresh_latest_ohlcv([pair_tf])
|
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
|
assert len(exchange.klines(pair_tf)) > 200
|
||||||
|
|
||||||
# TODO: tests fetch_trades (?)
|
# TODO: tests fetch_trades (?)
|
||||||
|
Loading…
Reference in New Issue
Block a user