diff --git a/monkey/tests/monkey_island/__init__.py b/monkey/tests/monkey_island/__init__.py index 8bf003b21..f7033842d 100644 --- a/monkey/tests/monkey_island/__init__.py +++ b/monkey/tests/monkey_island/__init__.py @@ -3,5 +3,4 @@ from .mock_file_repository import MockFileRepository, FILE_CONTENTS, FILE_NAME from .open_error_file_repository import OpenErrorFileRepository from .in_memory_agent_configuration_repository import InMemoryAgentConfigurationRepository from .in_memory_simulation_configuration import InMemorySimulationRepository -from .stub_propagation_credentials_repository import StubPropagationCredentialsRepository from .in_memory_credentials_repository import InMemoryCredentialsRepository diff --git a/monkey/tests/monkey_island/stub_propagation_credentials_repository.py b/monkey/tests/monkey_island/stub_propagation_credentials_repository.py deleted file mode 100644 index 51c8964b2..000000000 --- a/monkey/tests/monkey_island/stub_propagation_credentials_repository.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import Sequence - -from tests.data_for_tests.propagation_credentials import ( - PROPAGATION_CREDENTIALS_1, - PROPAGATION_CREDENTIALS_2, -) - -from common.credentials import Credentials -from monkey_island.cc.repository import ICredentialsRepository - - -class StubPropagationCredentialsRepository(ICredentialsRepository): - def get_configured_credentials(self) -> Sequence[Credentials]: - pass - - def get_stolen_credentials(self) -> Sequence[Credentials]: - return [PROPAGATION_CREDENTIALS_1, PROPAGATION_CREDENTIALS_2] - - def get_all_credentials(self) -> Sequence[Credentials]: - - return [PROPAGATION_CREDENTIALS_1, PROPAGATION_CREDENTIALS_2] - - def save_configured_credentials(self, credentials: Sequence[Credentials]): - pass - - def save_stolen_credentials(self, credentials: Sequence[Credentials]): - pass - - def remove_configured_credentials(self): - pass - - def remove_stolen_credentials(self): - pass - - def remove_all_credentials(self): - pass