Skip to content

Commit

Permalink
Update format for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed Dec 10, 2024
1 parent 866ec7a commit 3e0e95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/tools/test_mend_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_parse_file_with_one_sca_vuln_finding(self):
findings = parser.get_findings(testfile, Test())
self.assertEqual(1, len(findings))
finding = list(findings)[0]
self.assertEqual("D:\\MendRepo\\test-product\\test-project\\test-project-subcomponent\\path\\to\\the\\Java\\commons-codec-1.6_donotuse.jar", finding.steps_to_reproduce)
self.assertEqual("**Locations Found**: D:\\MendRepo\\test-product\\test-project\\test-project-subcomponent\\path\\to\\the\\Java\\commons-codec-1.6_donotuse.jar", finding.steps_to_reproduce)

def test_parse_file_with_no_vuln_has_no_findings_platform(self):
with open("unittests/scans/mend/mend-sca-platform-api3-no-findings.json", encoding="utf-8") as testfile:
Expand Down

0 comments on commit 3e0e95f

Please sign in to comment.