Island: Remove ITelemStoreRepository.py

Refactoring it is not worth it because we're not sure about the performance solution we'll need after the refactoring
This commit is contained in:
vakarisz 2022-05-20 17:43:48 +03:00
parent cfcb252df3
commit f43e76aca5
2 changed files with 1 additions and 13 deletions

View File

@ -1,12 +0,0 @@
from abc import ABC
from typing import Sequence
from monkey_island.cc.models.exported_telem import ExportedTelem
class ITelemStoreRepository(ABC):
def get_telemetries(self) -> Sequence[ExportedTelem]:
pass
def save_telemetry(self, telemetry: ExportedTelem):
pass

View File

@ -15,7 +15,7 @@ MAX_SAME_CATEGORY_TELEMS = 10000
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
# TODO this will break with the IRepository implementation. Remove it
class TestTelemStore:
TELEMS_EXPORTED = False