MCPcopy Index your code
hub / github.com/plotly/dash / test_pathname_prefix_from_environ_app_name

Function test_pathname_prefix_from_environ_app_name

tests/unit/test_configs.py:78–82  ·  view source on GitHub ↗
(empty_environ)

Source from the content-addressed store, hash-verified

76
77
78def test_pathname_prefix_from_environ_app_name(empty_environ):
79 os.environ["DASH_APP_NAME"] = "my-dash-app"
80 _, routes, req = pathname_configs()
81 assert req == "/my-dash-app/"
82 assert routes == "/"
83
84
85def test_pathname_prefix_environ_routes(empty_environ):

Callers

nothing calls this directly

Calls 1

pathname_configsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…