From 2bfb85a652494288c2bb4987f869e870f978a35f Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Tue, 13 Sep 2022 09:33:48 +0200 Subject: [PATCH] UT: Add typehints to test_reset_agent_configuration --- .../island_event_handlers/test_reset_agent_configuration.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/island_event_handlers/test_reset_agent_configuration.py b/monkey/tests/unit_tests/monkey_island/cc/island_event_handlers/test_reset_agent_configuration.py index d82c0bec2..2fb7d3230 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/island_event_handlers/test_reset_agent_configuration.py +++ b/monkey/tests/unit_tests/monkey_island/cc/island_event_handlers/test_reset_agent_configuration.py @@ -35,7 +35,10 @@ def mock_file_repository() -> IFileRepository: @pytest.fixture -def callable_reset_agent_configuration(agent_configuration_repository, mock_file_repository): +def callable_reset_agent_configuration( + agent_configuration_repository: IAgentConfigurationRepository, + mock_file_repository: IFileRepository, +) -> reset_agent_configuration: return reset_agent_configuration(agent_configuration_repository, mock_file_repository)