Home / Function/ test_original_win() — flask Function Reference

test_original_win() — flask Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_templating.py lines 24–30

def test_original_win(app, client):
    @app.route("/")
    def index():
        return flask.render_template_string("{{ config }}", config=42)

    rv = client.get("/")
    assert rv.data == b"42"

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free