MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / test_complete

Method test_complete

tests/test_core.py:57–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

completeMethod · 0.95
ScanResultClass · 0.90
from_stringMethod · 0.80

Tested by

no test coverage detected