UT: Update MimikatzCredentialCollector test now that MIMIKATZ_EVENT_TAGS is a frozenset

This commit is contained in:
Shreya Malviya 2022-08-17 17:28:44 +05:30
parent 3dca01d5d5
commit 5747c2e8b4
1 changed files with 1 additions and 1 deletions

View File

@ -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] mock_event_queue_call_args = mock_event_queue.publish.call_args[0][0]
assert isinstance(mock_event_queue_call_args, CredentialsStolenEvent) 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 assert mock_event_queue_call_args.stolen_credentials == collected_credentials