Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Apr 30, 2024
1 parent de5c2d8 commit c657739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/tools/test_yarn_audit_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_yarn_audit_parser_empty_with_error(self):
self.assertTrue("ECONNREFUSED" in str(context.exception))

def test_yarn_audit_parser_issue_6495(self):
with open("unittests/scans/yarn_audit/issue_6495.json") as testfile:
with open("unittests/scans/yarn_audit/issue_6495.json") as testfile:
parser = YarnAuditParser()
findings = parser.get_findings(testfile, self.get_test())
testfile.close()
Expand All @@ -83,7 +83,7 @@ def test_yarn_audit_parser_issue_6495(self):
self.assertEqual(findings[1].cve, None)

def test_yarn_audit_parser_yarn2_audit_issue9911(self):
with open("unittests/scans/yarn_audit/yarn2_audit_issue9911.json") as testfile:
with open("unittests/scans/yarn_audit/yarn2_audit_issue9911.json") as testfile:
parser = YarnAuditParser()
findings = parser.get_findings(testfile, self.get_test())
testfile.close()
Expand Down

0 comments on commit c657739

Please sign in to comment.