()
| 82 | |
| 83 | |
| 84 | def test_recon_result_serialization(): |
| 85 | from recon_engine import ReconResult, ReconType |
| 86 | result = ReconResult(recon_type=ReconType.TLS_AUDIT, target="https://example.com") |
| 87 | result.status = "ok" |
| 88 | result.duration_seconds = 1.5 |
| 89 | d = result.to_dict() |
| 90 | assert d["recon_type"] == "tls_audit" |
| 91 | assert d["target"] == "https://example.com" |
| 92 | assert d["status"] == "ok" |
| 93 | assert d["duration_seconds"] == 1.5 |
| 94 | assert d["findings"] == [] |
| 95 | |
| 96 | |
| 97 | def test_recon_scan_state_serialization(): |
nothing calls this directly
no test coverage detected