From 1bf6317a3c7f3e9c7f61776ac269d617cee8f3fe Mon Sep 17 00:00:00 2001 From: James Page Date: Sun, 20 Oct 2013 18:23:40 -0700 Subject: [PATCH] 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 --- tests/test_flask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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//secret') @signature(Model, text) def model_secret(name): - abort(403, description="You're not allowed in there!") + abort(403) @test_app.route('/models//custom-error')