MCPcopy
hub / github.com/urllib3/urllib3 / test_Url_str

Method test_Url_str

test/test_util.py:357–359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 assert url.port == 0
356
357 def test_Url_str(self) -> None:
358 U = Url("http", host="google.com")
359 assert str(U) == U.url
360
361 request_uri_map = [
362 ("http://google.com/mail", "/mail"),

Callers

nothing calls this directly

Calls 1

UrlClass · 0.90

Tested by

no test coverage detected