(self)
| 55 | assert result.findings[0].title == "Test Finding" |
| 56 | assert result.findings[0].severity == Severity.HIGH |
| 57 | |
| 58 | def test_complete(self): |
| 59 | target = Target.from_string("example.com") |
| 60 | result = ScanResult(target=target, module="test") |
| 61 | |
| 62 | assert result.completed_at is None |
| 63 | result.complete() |
| 64 | assert result.completed_at is not None |
| 65 | |
| 66 | def test_duration(self): |
nothing calls this directly
no test coverage detected