diff --git a/monkey/tests/unit_tests/monkey_island/cc/repository/test_mongo_agent_event_repository.py b/monkey/tests/unit_tests/monkey_island/cc/repository/test_mongo_agent_event_repository.py index cebccb8f4..19a724971 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/repository/test_mongo_agent_event_repository.py +++ b/monkey/tests/unit_tests/monkey_island/cc/repository/test_mongo_agent_event_repository.py @@ -90,7 +90,9 @@ def error_raising_mongo_client(mongo_client) -> mongomock.MongoClient: def error_raising_mongo_repository( error_raising_mongo_client, event_serializer_registry ) -> IAgentEventRepository: - return MongoAgentEventRepository(error_raising_mongo_client, event_serializer_registry, encryptor) + return MongoAgentEventRepository( + error_raising_mongo_client, event_serializer_registry, encryptor + ) def assert_same_contents(a, b):