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

Class ForbiddenSubclass

tests/test_basic.py:961–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959
960def test_http_error_subclass_handling(app, client):
961 class ForbiddenSubclass(Forbidden):
962 pass
963
964 @app.errorhandler(ForbiddenSubclass)
965 def handle_forbidden_subclass(e):

Callers 1

index1Function · 0.85

Calls

no outgoing calls

Tested by 1

index1Function · 0.68