(self)
| 13 | |
| 14 | def test_url_detection(self): |
| 15 | t = Target.from_string("https://example.com/path") |
| 16 | assert t.target_type == "url" |
| 17 | assert t.value == "https://example.com/path" |
| 18 | |
| 19 | def test_ip_detection(self): |
| 20 | t = Target.from_string("192.168.1.1") |
| 21 | assert t.target_type == "ip" |
nothing calls this directly
no test coverage detected