MCPcopy
hub / github.com/pallets/werkzeug / test_get_host_invalid

Function test_get_host_invalid

tests/sansio/test_utils.py:50–51  ·  view source on GitHub ↗
(value: str | None)

Source from the content-addressed store, hash-verified

48 "value", ["", "a.test:8080@b.test", "a.test:port", "[z:443]:8080"]
49)
50def test_get_host_invalid(value: str | None) -> None:
51 assert get_host("http", value, None) == ""
52
53
54@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

get_hostFunction · 0.90

Tested by

no test coverage detected