MCPcopy
hub / github.com/pallets/flask / test_path_is_url

Function test_path_is_url

tests/test_testing.py:102–107  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

100
101
102def test_path_is_url(app):
103 eb = EnvironBuilder(app, "https://example.com/")
104 assert eb.url_scheme == "https"
105 assert eb.host == "example.com"
106 assert eb.script_root == ""
107 assert eb.path == "/"
108
109
110def test_environbuilder_json_dumps(app):

Callers

nothing calls this directly

Calls 1

EnvironBuilderClass · 0.90

Tested by

no test coverage detected