Island: Add ITelemStoreRepository interface

This commit is contained in:
Ilija Lazoroski 2022-05-18 13:25:52 +02:00
parent e0b4037270
commit ca951af5d0
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
from abc import ABC
class ITelemStoreRepository(ABC):
def get_telemetries(self):
# Used to get ExportedTelem for the Telemtry Store
pass

View File

@ -60,6 +60,7 @@ class TestTelemStore:
TestTelemStore.TELEMS_EXPORTED = True
logger.info("Telemetries exported!")
# Should be private
@staticmethod
def get_unique_file_path_for_export_telem(target_dir: str, test_telem: ExportedTelem):
telem_filename = TestTelemStore._get_filename_by_export_telem(test_telem)