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

Function test_valid_pathname_prefix_init

tests/unit/test_configs.py:43–52  ·  view source on GitHub ↗
(
    empty_environ, route_prefix, req_prefix, expected_route, expected_req
)

Source from the content-addressed store, hash-verified

41 ],
42)
43def test_valid_pathname_prefix_init(
44 empty_environ, route_prefix, req_prefix, expected_route, expected_req
45):
46 _, routes, req = pathname_configs(
47 routes_pathname_prefix=route_prefix, requests_pathname_prefix=req_prefix
48 )
49
50 if expected_route is not None:
51 assert routes == expected_route
52 assert req == expected_req
53
54
55def test_invalid_pathname_prefix(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…