test_session_path() — flask Function Reference
Architecture documentation for the test_session_path() function in test_basic.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD c75341cc_f72b_319e_4f66_136b1d70ed27["test_session_path()"] 85bc4fb5_d1d7_a135_020d_69e052c12c0f["test_basic.py"] c75341cc_f72b_319e_4f66_136b1d70ed27 -->|defined in| 85bc4fb5_d1d7_a135_020d_69e052c12c0f 6ea1611d_2801_3cb5_a5b9_5b6403cc0537["index()"] c75341cc_f72b_319e_4f66_136b1d70ed27 -->|calls| 6ea1611d_2801_3cb5_a5b9_5b6403cc0537 style c75341cc_f72b_319e_4f66_136b1d70ed27 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_basic.py lines 257–266
def test_session_path(app, client):
app.config.update(APPLICATION_ROOT="/foo")
@app.route("/")
def index():
flask.session["testing"] = 42
return "Hello World"
rv = client.get("/", "http://example.com:8080/foo")
assert "path=/foo" in rv.headers["set-cookie"].lower()
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_session_path() do?
test_session_path() is a function in the flask codebase, defined in tests/test_basic.py.
Where is test_session_path() defined?
test_session_path() is defined in tests/test_basic.py at line 257.
What does test_session_path() call?
test_session_path() calls 1 function(s): index.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free