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

Function test_iri_support

tests/test_test.py:655–658  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653
654
655def test_iri_support():
656 b = EnvironBuilder("/föö-bar", base_url="http://☃.net/")
657 assert b.path == "/f%C3%B6%C3%B6-bar"
658 assert b.base_url == "http://xn--n3h.net/"
659
660
661@pytest.mark.parametrize("buffered", (True, False))

Callers

nothing calls this directly

Calls 1

EnvironBuilderClass · 0.90

Tested by

no test coverage detected