Drop description from 403 flask test case

Older versions of werkzeug pass the description parameter back
in the description.  As the description is never actually validated
in the test case, dropping it seems OK.

Change-Id: Icd547113d8fe918f35a97c4a5de220b3aaace5cd
Closes-Bug: 1242486
This commit is contained in:
James Page 2013-10-20 18:23:40 -07:00
parent 8f46a0ce71
commit 1bf6317a3c

View File

@ -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')