We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ae4570 commit 842d72dCopy full SHA for 842d72d
1 file changed
unittests/tools/test_fortify_parser.py
@@ -123,7 +123,7 @@ def test_fortify_hello_world_fdr_findings(self):
123
self.assertEqual(13, finding.line)
124
125
def test_fortify_webinspect_4_2_many_findings(self):
126
- with open(get_unit_tests_scans_path("fortify") / "webinspect_4_2_many_findings.xml", encoding="utf-8") as testfile:
+ with (get_unit_tests_scans_path("fortify") / "webinspect_4_2_many_findings.xml").open(encoding="utf-8") as testfile:
127
parser = FortifyParser()
128
findings = parser.get_findings(testfile, Test())
129
self.assertEqual(15, len(findings))
0 commit comments