10 lines
324 B
Python
10 lines
324 B
Python
from DataCache import DataCache
|
|
from exchangeinterface import ExchangeInterface
|
|
|
|
|
|
def test_cache_exists():
|
|
exchanges = ExchangeInterface()
|
|
# This object maintains all the cached data. Pass it connection to the exchanges.
|
|
data = DataCache(exchanges)
|
|
assert data.cache_exists(key='BTC/USD_2h_alpaca') is False
|