Skip to content

Commit 842d72d

Browse files
committed
Fix Ruff
1 parent 3ae4570 commit 842d72d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unittests/tools/test_fortify_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_fortify_hello_world_fdr_findings(self):
123123
self.assertEqual(13, finding.line)
124124

125125
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:
126+
with (get_unit_tests_scans_path("fortify") / "webinspect_4_2_many_findings.xml").open(encoding="utf-8") as testfile:
127127
parser = FortifyParser()
128128
findings = parser.get_findings(testfile, Test())
129129
self.assertEqual(15, len(findings))

0 commit comments

Comments
 (0)