BB: Get rid of unneeded improts and variables

This commit is contained in:
Shreya Malviya 2022-07-21 19:04:31 +05:30 committed by Mike Salvatore
parent 00626fe579
commit b13fb45b04
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,4 @@
from typing import Iterable, Mapping from typing import Iterable
import dpath.util
from common.configuration.agent_configuration import AgentConfiguration from common.configuration.agent_configuration import AgentConfiguration

View File

@ -89,7 +89,6 @@ class TestMonkeyBlackbox:
test_name: str, test_name: str,
timeout_in_seconds=DEFAULT_TIMEOUT_SECONDS, timeout_in_seconds=DEFAULT_TIMEOUT_SECONDS,
): ):
serialized_config = IslandConfigParser.get_serialized_config(agent_configuration)
analyzer = CommunicationAnalyzer( analyzer = CommunicationAnalyzer(
island_client, island_client,
IslandConfigParser.get_target_ips_from_configuration(agent_configuration), IslandConfigParser.get_target_ips_from_configuration(agent_configuration),
@ -144,7 +143,6 @@ class TestMonkeyBlackbox:
"aad3b435b51404eeaad3b435b51404ee", "aad3b435b51404eeaad3b435b51404ee",
"2864b62ea4496934a5d6e86f50b834a5", "2864b62ea4496934a5d6e86f50b834a5",
] ]
serialized_config = IslandConfigParser.get_serialized_config(zerologon_test_configuration)
zero_logon_analyzer = ZerologonAnalyzer(island_client, expected_creds) zero_logon_analyzer = ZerologonAnalyzer(island_client, expected_creds)
communication_analyzer = CommunicationAnalyzer( communication_analyzer = CommunicationAnalyzer(
island_client, island_client,