Skip to content

Commit

Permalink
fix corpus tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
djkhl committed Jun 25, 2024
1 parent 4d0403c commit 8c1378a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/util/test_auto_rule_corpus_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ def test_run_prints_expected_outputs_to_console(
with mock.patch(
"logprep.util.auto_rule_tester.auto_rule_corpus_tester.Pipeline.process_pipeline"
) as mock_process_pipeline:
mock_process_pipeline.return_value = mock_output, PipelineResult(
results=[ProcessorResult(name="", data=mock_output)]
mock_process_pipeline.return_value = mock_output[0], PipelineResult(
results=[ProcessorResult(name="test", data=test_data["expected_extra_output"])]
)
corpus_tester.run()
else:
Expand Down

0 comments on commit 8c1378a

Please sign in to comment.