From 4c1e25c212e1c107e7070b416e10dd4cb35d6e08 Mon Sep 17 00:00:00 2001 From: testaccount90009 <122134756+testaccount90009@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:16:03 -0800 Subject: [PATCH] fix whitespace before comma --- unittests/tools/test_mend_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/tools/test_mend_parser.py b/unittests/tools/test_mend_parser.py index df875555a8..45a300e2e2 100644 --- a/unittests/tools/test_mend_parser.py +++ b/unittests/tools/test_mend_parser.py @@ -60,7 +60,7 @@ def test_parse_file_with_one_vuln_has_one_findings_platform(self): self.assertEqual("CVE-2024-51744", finding.unsaved_vulnerability_ids[0]) self.assertEqual("CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N", finding.cvssv3) self.assertEqual(3.1, finding.cvssv3_score) - self.assertEqual("CVE-2024-51744 | github.com/golang-JWT/jwt-v3.2.2+incompatible" , finding.title) + self.assertEqual("CVE-2024-51744 | github.com/golang-JWT/jwt-v3.2.2+incompatible", finding.title) def test_parse_file_with_multiple_vuln_has_multiple_finding_platform(self): with open("unittests/scans/mend/mend-sca-platform-api3-multiple-findings.json", encoding="utf-8") as testfile: