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

Method test_ip_detection

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

Source from the content-addressed store, hash-verified

18
19 def test_ip_detection(self):
20 t = Target.from_string("192.168.1.1")
21 assert t.target_type == "ip"
22 assert t.value == "192.168.1.1"
23
24 def test_email_detection(self):
25 t = Target.from_string("user@example.com")
26 assert t.target_type == "email"

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected