From a13b30b2de1eb4860a9a47fecdb036837c8616c1 Mon Sep 17 00:00:00 2001 From: misagh Date: Fri, 21 Dec 2018 10:21:31 +0100 Subject: [PATCH] removing test --- freqtrade/exchange/__init__.py | 1 - freqtrade/tests/exchange/test_exchange.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index 9ea963c65..181e60e8c 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -164,7 +164,6 @@ class Exchange(object): else: return None - def set_sandbox(self, api, exchange_config: dict, name: str): if exchange_config.get('sandbox'): if api.urls.get('test'): diff --git a/freqtrade/tests/exchange/test_exchange.py b/freqtrade/tests/exchange/test_exchange.py index 6299d8dc8..647440223 100644 --- a/freqtrade/tests/exchange/test_exchange.py +++ b/freqtrade/tests/exchange/test_exchange.py @@ -814,9 +814,6 @@ def test_refresh_tickers(mocker, default_conf, caplog) -> None: assert isinstance(exchange.klines(pair), DataFrame) assert len(exchange.klines(pair)) > 0 - # test last kline close price - assert exchange.last_kline_close('XRP/ETH') == 4 - # test caching exchange.refresh_tickers(['IOTA/ETH', 'XRP/ETH'], '5m')