test_exception_propagation() — flask Function Reference
Architecture documentation for the test_exception_propagation() function in test_basic.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 308829ca_4d08_f3e7_d27b_aba8e39eb142["test_exception_propagation()"] 85bc4fb5_d1d7_a135_020d_69e052c12c0f["test_basic.py"] 308829ca_4d08_f3e7_d27b_aba8e39eb142 -->|defined in| 85bc4fb5_d1d7_a135_020d_69e052c12c0f 6ea1611d_2801_3cb5_a5b9_5b6403cc0537["index()"] 308829ca_4d08_f3e7_d27b_aba8e39eb142 -->|calls| 6ea1611d_2801_3cb5_a5b9_5b6403cc0537 style 308829ca_4d08_f3e7_d27b_aba8e39eb142 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_basic.py lines 1587–1600
def test_exception_propagation(app, client, key):
app.testing = False
@app.route("/")
def index():
raise ZeroDivisionError
if key is not None:
app.config[key] = True
with pytest.raises(ZeroDivisionError):
client.get("/")
else:
assert client.get("/").status_code == 500
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_exception_propagation() do?
test_exception_propagation() is a function in the flask codebase, defined in tests/test_basic.py.
Where is test_exception_propagation() defined?
test_exception_propagation() is defined in tests/test_basic.py at line 1587.
What does test_exception_propagation() call?
test_exception_propagation() 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