MCPcopy
hub / github.com/plotly/dash / test_title

Function test_title

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

Source from the content-addressed store, hash-verified

407
408
409def test_title():
410 app = Dash()
411 assert "<title>Dash</title>" in app.index()
412 app = Dash()
413 app.title = "Hello World"
414 assert "<title>Hello World</title>" in app.index()
415 app = Dash(title="Custom Title")
416 assert "<title>Custom Title</title>" in app.index()
417
418
419def test_app_delayed_config():

Callers

nothing calls this directly

Calls 2

indexMethod · 0.95
DashClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…