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

Function error2

tests/test_basic.py:884–885  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

882
883 @app.route("/forbidden")
884 def error2():
885 flask.abort(403)
886
887 rv = client.get("/")
888 assert rv.status_code == 404

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected