test_session_transactions_no_null_sessions() — flask Function Reference
Architecture documentation for the test_session_transactions_no_null_sessions() function in test_testing.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 6f99873a_0546_48e0_0207_1d6f2b4966e7["test_session_transactions_no_null_sessions()"] 8c162ff0_0a8a_d943_77b6_c07b38d297a0["test_testing.py"] 6f99873a_0546_48e0_0207_1d6f2b4966e7 -->|defined in| 8c162ff0_0a8a_d943_77b6_c07b38d297a0 style 6f99873a_0546_48e0_0207_1d6f2b4966e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_testing.py lines 175–182
def test_session_transactions_no_null_sessions():
app = flask.Flask(__name__)
with app.test_client() as c:
with pytest.raises(RuntimeError) as e:
with c.session_transaction():
pass
assert "Session backend did not open a session" in str(e.value)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_session_transactions_no_null_sessions() do?
test_session_transactions_no_null_sessions() is a function in the flask codebase, defined in tests/test_testing.py.
Where is test_session_transactions_no_null_sessions() defined?
test_session_transactions_no_null_sessions() is defined in tests/test_testing.py at line 175.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free