MCPcopy Create free account
hub / github.com/BishopFox/aimap / test_basic_fields

Method test_basic_fields

backend/tests/test_discovery.py:358–362  ·  view source on GitHub ↗
(self, sample_nuclei_finding: dict)

Source from the content-addressed store, hash-verified

356 self.runner = NucleiRunner()
357
358 def test_basic_fields(self, sample_nuclei_finding: dict) -> None:
359 result = self.runner.normalize_finding(sample_nuclei_finding)
360 assert result["ip"] == "104.21.32.50"
361 assert result["port"] == 8080
362 assert result["url"] == "http://104.21.32.50:8080"
363
364 def test_protocol_from_template(self, sample_nuclei_finding: dict) -> None:
365 result = self.runner.normalize_finding(sample_nuclei_finding)

Callers

nothing calls this directly

Calls 1

normalize_findingMethod · 0.80

Tested by

no test coverage detected