Skip to content

Commit

Permalink
tests: scanner: Improve false positive message
Browse files Browse the repository at this point in the history
  • Loading branch information
Niraj-Kamdar committed Jul 15, 2020
1 parent 0916431 commit 532a35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_false_positive(self):
os.path.join(self.mapping_test_dir, filename)
):
if params:
pytest.fail(msg="Checker has detected false positive.")
pytest.fail(msg=f"Checker has detected false positive: {params}")

@pytest.mark.parametrize(
"product, version, version_strings",
Expand Down

0 comments on commit 532a35d

Please sign in to comment.