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

Function test_debug_mode_enable_dev_tools

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

Source from the content-addressed store, hash-verified

470 ],
471)
472def test_debug_mode_enable_dev_tools(empty_environ, debug_env, debug, expected):
473 if debug_env:
474 os.environ["DASH_DEBUG"] = debug_env
475 app = Dash()
476 app.enable_dev_tools(debug=debug)
477 assert app._dev_tools.ui == expected
478
479
480def test_missing_flask_compress_raises():

Callers

nothing calls this directly

Calls 2

enable_dev_toolsMethod · 0.95
DashClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…