MCPcopy Create free account
hub / github.com/pallets/flask / test_async_error_handler

Function test_async_error_handler

tests/test_async.py:91–94  ·  view source on GitHub ↗
(path, async_app)

Source from the content-addressed store, hash-verified

89
90@pytest.mark.parametrize("path", ["/error", "/bp/error"])
91def test_async_error_handler(path, async_app):
92 test_client = async_app.test_client()
93 response = test_client.get(path)
94 assert response.status_code == 412
95
96
97def test_async_before_after_request():

Callers

nothing calls this directly

Calls 2

test_clientMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected