test_session_transactions_keep_context() — flask Function Reference
Architecture documentation for the test_session_transactions_keep_context() function in test_testing.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD a93bcba9_dd86_4b4d_9d4c_004f41d2a89f["test_session_transactions_keep_context()"] 8c162ff0_0a8a_d943_77b6_c07b38d297a0["test_testing.py"] a93bcba9_dd86_4b4d_9d4c_004f41d2a89f -->|defined in| 8c162ff0_0a8a_d943_77b6_c07b38d297a0 style a93bcba9_dd86_4b4d_9d4c_004f41d2a89f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_testing.py lines 185–190
def test_session_transactions_keep_context(app, client, req_ctx):
client.get("/")
req = flask.request._get_current_object()
assert req is not None
with client.session_transaction():
assert req is flask.request._get_current_object()
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_session_transactions_keep_context() do?
test_session_transactions_keep_context() is a function in the flask codebase, defined in tests/test_testing.py.
Where is test_session_transactions_keep_context() defined?
test_session_transactions_keep_context() is defined in tests/test_testing.py at line 185.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free