File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def test_multiple_findings(self):
4343 parser = WizcliDirParser ()
4444 findings = parser .get_findings (testfile , Test ())
4545 self .assertEqual (7 , len (findings ))
46-
46+
4747 # Test first finding
4848 finding = findings [0 ]
4949 self .assertEqual ("github.com/golang-jwt/jwt/v4 4.5.1 - CVE-2025-30204" , finding .title )
@@ -61,7 +61,7 @@ def test_multiple_findings(self):
6161 )
6262 self .assertEqual ("CVE-2025-30204" , finding .cve )
6363 self .assertEqual ("https://github.com/advisories/GHSA-mh63-6h87-95cp" , finding .references )
64-
64+
6565 # Test second finding
6666 finding = findings [1 ]
6767 self .assertEqual ("github.com/golang-jwt/jwt/v5 5.2.1 - CVE-2025-30204" , finding .title )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_one_findings(self):
2929 "**Resource**: `google_storage_bucket[elastic-snapshots]`\n "
3030 "**File**: `states/dev/storage.tf`\n "
3131 "**Line**: 1\n "
32- " **Code Snippet**: ```\n resource \ " google_storage_bucket\" \ " elastic-snapshots\ " {\n ```\n "
32+ ' **Code Snippet**: ```\n resource "google_storage_bucket" "elastic-snapshots" {\n ```\n '
3333 "\n **Finding Details**:\n "
3434 "- **Expected**: 'logging' should be set\n "
3535 "- **Found**: 'logging' is undefined\n "
@@ -46,7 +46,7 @@ def test_multiple_findings(self):
4646 parser = WizcliIaCParser ()
4747 findings = parser .get_findings (testfile , Test ())
4848 self .assertEqual (25 , len (findings ))
49-
49+
5050 # Test first finding
5151 finding = findings [0 ]
5252 self .assertEqual (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def test_multiple_findings(self):
3939 parser = WizcliImgParser ()
4040 findings = parser .get_findings (testfile , Test ())
4141 self .assertEqual (9 , len (findings ))
42-
42+
4343 # Test first finding
4444 finding = findings [0 ]
4545 self .assertEqual ("OS Pkg: libcrypto3 3.3.1-r0 - CVE-2024-5535" , finding .title )
@@ -59,7 +59,7 @@ def test_multiple_findings(self):
5959 self .assertTrue (finding .static_finding )
6060 self .assertFalse (finding .dynamic_finding )
6161 self .assertTrue (finding .active )
62-
62+
6363 # Test second finding
6464 finding = findings [1 ]
6565 self .assertEqual ("OS Pkg: libssl3 3.3.1-r0 - CVE-2024-5535" , finding .title )
You can’t perform that action at this time.
0 commit comments