Add store test, move store to subdir module

This commit is contained in:
lash
2022-03-13 14:58:26 +00:00
parent bdebeb6010
commit 51c8124a28
7 changed files with 148 additions and 31 deletions

View File

@@ -18,6 +18,7 @@ from tests.common import (
MockCounter,
MockTokenCache,
MockCacheTokenTx,
MockContentStore,
)
from tests.base_shep import TestShepBase
@@ -25,20 +26,6 @@ logging.basicConfig(level=logging.DEBUG)
logg = logging.getLogger()
class MockContentStore:
def __init__(self):
self.store = {}
def put(self, k, v):
self.store[k] = v
def get(self, k):
return self.store.get(k)
class TestIntegrateBase(TestShepBase):
def setUp(self):