|
|
@ -37,7 +37,6 @@ def test_error_handler_subclass(): |
|
|
|
def registered_test(): |
|
|
|
def registered_test(): |
|
|
|
raise ChildExceptionRegistered() |
|
|
|
raise ChildExceptionRegistered() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c = app.test_client() |
|
|
|
c = app.test_client() |
|
|
|
|
|
|
|
|
|
|
|
assert c.get('/parent').data == b'parent' |
|
|
|
assert c.get('/parent').data == b'parent' |
|
|
@ -76,7 +75,6 @@ def test_error_handler_http_subclass(): |
|
|
|
def unregistered_test(): |
|
|
|
def unregistered_test(): |
|
|
|
raise ForbiddenSubclassUnregistered() |
|
|
|
raise ForbiddenSubclassUnregistered() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c = app.test_client() |
|
|
|
c = app.test_client() |
|
|
|
|
|
|
|
|
|
|
|
assert c.get('/forbidden').data == b'forbidden' |
|
|
|
assert c.get('/forbidden').data == b'forbidden' |
|
|
|