From 2a2ab52da1c333c88e8ff7c5c4cf0e8bcfc18ae6 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 11 Jul 2022 13:30:14 -0400 Subject: [PATCH] Island: Remove monkey_guid from StubPropagationCredentialsRepository --- .../monkey_island/stub_propagation_credentials_repository.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/monkey/tests/monkey_island/stub_propagation_credentials_repository.py b/monkey/tests/monkey_island/stub_propagation_credentials_repository.py index ccf72a9ec..73cae99bf 100644 --- a/monkey/tests/monkey_island/stub_propagation_credentials_repository.py +++ b/monkey/tests/monkey_island/stub_propagation_credentials_repository.py @@ -25,10 +25,7 @@ class StubPropagationCredentialsRepository(ICredentialsRepository): pass def get_stolen_credentials(self) -> Sequence[Credentials]: - return [ - Credentials.from_mapping(PROPAGATION_CREDENTIALS_1, monkey_guid="some_guid"), - Credentials.from_mapping(PROPAGATION_CREDENTIALS_2, monkey_guid="second_guid"), - ] + return [PROPAGATION_CREDENTIALS_1, PROPAGATION_CREDENTIALS_2] def get_all_credentials(self) -> Sequence[Credentials]: