Function
test_debug_mode_run
(empty_environ, debug_env, debug, expected)
Source from the content-addressed store, hash-verified
| 447 | ], |
| 448 | ) |
| 449 | def 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
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…