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

Function test_debug_mode_run

tests/unit/test_configs.py:449–455  ·  view source on GitHub ↗
(empty_environ, debug_env, debug, expected)

Source from the content-addressed store, hash-verified

447 ],
448)
449def test_debug_mode_run(empty_environ, debug_env, debug, expected):
450 if debug_env:
451 os.environ["DASH_DEBUG"] = debug_env
452 app = Dash()
453 with pytest.raises(AssertionError):
454 app.run(debug=debug, port=-1)
455 assert app._dev_tools.ui == expected
456
457
458@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
DashClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…