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

Method test_domain_detection

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

Source from the content-addressed store, hash-verified

8
9 def test_domain_detection(self):
10 t = Target.from_string("example.com")
11 assert t.target_type == "domain"
12 assert t.value == "example.com"
13
14 def test_url_detection(self):
15 t = Target.from_string("https://example.com/path")
16 assert t.target_type == "url"

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected