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

Function test_pathname_prefix_assets

tests/unit/test_configs.py:105–108  ·  view source on GitHub ↗
(empty_environ, req, expected)

Source from the content-addressed store, hash-verified

103 ],
104)
105def test_pathname_prefix_assets(empty_environ, req, expected):
106 config = AttributeDict(assets_external_path=req, assets_url_path="assets")
107 path = app_get_asset_url(config, "reset.css")
108 assert path == expected
109
110
111@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

AttributeDictClass · 0.90
app_get_asset_urlFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…