removing test
This commit is contained in:
parent
a45ec1ed1c
commit
a13b30b2de
@ -164,7 +164,6 @@ class Exchange(object):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def set_sandbox(self, api, exchange_config: dict, name: str):
|
def set_sandbox(self, api, exchange_config: dict, name: str):
|
||||||
if exchange_config.get('sandbox'):
|
if exchange_config.get('sandbox'):
|
||||||
if api.urls.get('test'):
|
if api.urls.get('test'):
|
||||||
|
@ -814,9 +814,6 @@ def test_refresh_tickers(mocker, default_conf, caplog) -> None:
|
|||||||
assert isinstance(exchange.klines(pair), DataFrame)
|
assert isinstance(exchange.klines(pair), DataFrame)
|
||||||
assert len(exchange.klines(pair)) > 0
|
assert len(exchange.klines(pair)) > 0
|
||||||
|
|
||||||
# test last kline close price
|
|
||||||
assert exchange.last_kline_close('XRP/ETH') == 4
|
|
||||||
|
|
||||||
# test caching
|
# test caching
|
||||||
exchange.refresh_tickers(['IOTA/ETH', 'XRP/ETH'], '5m')
|
exchange.refresh_tickers(['IOTA/ETH', 'XRP/ETH'], '5m')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user