summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Page <james.page@ubuntu.com>2013-10-20 18:23:40 -0700
committerJames Page <james.page@ubuntu.com>2013-10-20 18:23:40 -0700
commit1bf6317a3c7f3e9c7f61776ac269d617cee8f3fe (patch)
tree39ff98cb254ebee4bafcdbb2d43898f53bcaf106
parent8f46a0ce7124003cff0e2be689a20a9b6ca3890c (diff)
downloadwsme-1bf6317a3c7f3e9c7f61776ac269d617cee8f3fe.tar.gz
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
-rw-r--r--tests/test_flask.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_flask.py b/tests/test_flask.py
index 2a34991..807d272 100644
--- a/tests/test_flask.py
+++ b/tests/test_flask.py
@@ -49,7 +49,7 @@ def get_model(name):
@test_app.route('/models/<name>/secret')
@signature(Model, text)
def model_secret(name):
- abort(403, description="You're not allowed in there!")
+ abort(403)
@test_app.route('/models/<name>/custom-error')