(self)
| 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" |
nothing calls this directly
no test coverage detected