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

Function test_app_delayed_config

tests/unit/test_configs.py:419–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417
418
419def test_app_delayed_config():
420 app = Dash(server=False)
421 app.init_app(app=Flask("test"), requests_pathname_prefix="/dash/")
422
423 assert app.config.requests_pathname_prefix == "/dash/"
424
425 with pytest.raises(AttributeError):
426 app.config.name = "cannot update me"
427
428
429def test_app_invalid_delayed_config():

Callers

nothing calls this directly

Calls 2

init_appMethod · 0.95
DashClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…