(self, sample_nuclei_finding: dict)
| 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) |
nothing calls this directly
no test coverage detected