Merge "Drop description from 403 flask test case"
This commit is contained in:
commit
a59576226d
@ -49,7 +49,7 @@ def get_model(name):
|
|||||||
@test_app.route('/models/<name>/secret')
|
@test_app.route('/models/<name>/secret')
|
||||||
@signature(Model, text)
|
@signature(Model, text)
|
||||||
def model_secret(name):
|
def model_secret(name):
|
||||||
abort(403, description="You're not allowed in there!")
|
abort(403)
|
||||||
|
|
||||||
|
|
||||||
@test_app.route('/models/<name>/custom-error')
|
@test_app.route('/models/<name>/custom-error')
|
||||||
|
Loading…
Reference in New Issue
Block a user