Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
Result was not adapted to changed input.
  • Loading branch information
thomaspatzke authored Jun 14, 2023
1 parent 8cda777 commit 7bcd838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_splunk_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_splunk_process_creation_dm():
User: test
condition: sel
""")
) == [f"Processes.process=\"test\" Processes.process_current_directory=\"test\" Processes.process_path=\"test\" Processes.process_integrity_level=\"test\" Processes.parent_process=\"test\" Processes.parent_process_path=\"test\" Processes.parent_process_guid=\"test\" Processes.parent_process_id=\"test\" Processes.process_guid=\"test\" Processes.process_id=\"test\" Processes.user=\"test\""]
) == [f"Processes.process=\"test\" Processes.process_current_directory=\"test\" Processes.process_path=\"test\" Processes.process_integrity_level=\"test\" Processes.original_file_name=\"test\" Processes.parent_process=\"test\" Processes.parent_process_path=\"test\" Processes.parent_process_guid=\"test\" Processes.parent_process_id=\"test\" Processes.process_guid=\"test\" Processes.process_id=\"test\" Processes.user=\"test\""]

def test_splunk_process_creation_dm_unsupported_fields():
with pytest.raises(SigmaTransformationError):
Expand Down

0 comments on commit 7bcd838

Please sign in to comment.