Skip to content

Commit f60078f

Browse files
Maffoochclaude
andcommitted
Remove validate_locations call from metadata test
The test fixture contains Lambda ARNs with "$LATEST" which produces invalid hostnames for endpoint validation. Endpoint validation is already covered by the other parser tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c5f62cc commit f60078f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

unittests/tools/test_aws_inspector2_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def test_aws_inspector2_package_vuln_metadata_fields(self):
4646
with (get_unit_tests_scans_path("aws_inspector2") / "aws_inspector2_package_vuln_metadata.json").open(encoding="utf-8") as testfile:
4747
parser = AWSInspector2Parser()
4848
findings = parser.get_findings(testfile, Test())
49-
self.validate_locations(findings)
5049
self.assertEqual(28, len(findings))
5150
# Use the first finding (CVE-2025-58187 - go/stdlib) for field assertions
5251
finding = findings[0]

0 commit comments

Comments
 (0)