From 5747c2e8b437342064468b5ba712e96159201f42 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 17 Aug 2022 17:28:44 +0530 Subject: [PATCH] UT: Update MimikatzCredentialCollector test now that MIMIKATZ_EVENT_TAGS is a frozenset --- .../credential_collectors/test_mimikatz_collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/infection_monkey/credential_collectors/test_mimikatz_collector.py b/monkey/tests/unit_tests/infection_monkey/credential_collectors/test_mimikatz_collector.py index aec06bfc1..a78f77de3 100644 --- a/monkey/tests/unit_tests/infection_monkey/credential_collectors/test_mimikatz_collector.py +++ b/monkey/tests/unit_tests/infection_monkey/credential_collectors/test_mimikatz_collector.py @@ -138,5 +138,5 @@ def test_mimikatz_credentials_stolen_event_published(monkeypatch): mock_event_queue_call_args = mock_event_queue.publish.call_args[0][0] assert isinstance(mock_event_queue_call_args, CredentialsStolenEvent) - assert mock_event_queue_call_args.tags == frozenset(MIMIKATZ_EVENT_TAGS) + assert mock_event_queue_call_args.tags == MIMIKATZ_EVENT_TAGS assert mock_event_queue_call_args.stolen_credentials == collected_credentials