forked from p15670423/monkey
Island: Add ITelemStoreRepository interface
This commit is contained in:
parent
e0b4037270
commit
ca951af5d0
|
@ -0,0 +1,7 @@
|
||||||
|
from abc import ABC
|
||||||
|
|
||||||
|
|
||||||
|
class ITelemStoreRepository(ABC):
|
||||||
|
def get_telemetries(self):
|
||||||
|
# Used to get ExportedTelem for the Telemtry Store
|
||||||
|
pass
|
|
@ -60,6 +60,7 @@ class TestTelemStore:
|
||||||
TestTelemStore.TELEMS_EXPORTED = True
|
TestTelemStore.TELEMS_EXPORTED = True
|
||||||
logger.info("Telemetries exported!")
|
logger.info("Telemetries exported!")
|
||||||
|
|
||||||
|
# Should be private
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_unique_file_path_for_export_telem(target_dir: str, test_telem: ExportedTelem):
|
def get_unique_file_path_for_export_telem(target_dir: str, test_telem: ExportedTelem):
|
||||||
telem_filename = TestTelemStore._get_filename_by_export_telem(test_telem)
|
telem_filename = TestTelemStore._get_filename_by_export_telem(test_telem)
|
||||||
|
|
Loading…
Reference in New Issue