()
| 417 | |
| 418 | |
| 419 | def 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 | |
| 429 | def test_app_invalid_delayed_config(): |