Home / Function/ test_templates_auto_reload_debug_run() — flask Function Reference

test_templates_auto_reload_debug_run() — flask Function Reference

Architecture documentation for the test_templates_auto_reload_debug_run() function in test_templating.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  3766cd97_92b4_e9bd_210c_0dde7285f39d["test_templates_auto_reload_debug_run()"]
  b3595fee_7041_96b0_f59f_4080381c7deb["test_templating.py"]
  3766cd97_92b4_e9bd_210c_0dde7285f39d -->|defined in| b3595fee_7041_96b0_f59f_4080381c7deb
  style 3766cd97_92b4_e9bd_210c_0dde7285f39d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_templating.py lines 475–485

def test_templates_auto_reload_debug_run(app, monkeypatch):
    def run_simple_mock(*args, **kwargs):
        pass

    monkeypatch.setattr(werkzeug.serving, "run_simple", run_simple_mock)

    app.run()
    assert not app.jinja_env.auto_reload

    app.run(debug=True)
    assert app.jinja_env.auto_reload

Subdomains

Frequently Asked Questions

What does test_templates_auto_reload_debug_run() do?
test_templates_auto_reload_debug_run() is a function in the flask codebase, defined in tests/test_templating.py.
Where is test_templates_auto_reload_debug_run() defined?
test_templates_auto_reload_debug_run() is defined in tests/test_templating.py at line 475.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free