mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-07 20:37:44 +00:00
#239 Fix to support new version of Flask 0.11
This commit is contained in:
@@ -62,7 +62,7 @@ def test_errors(problem_app):
|
||||
assert problematic_json.status_code == 500
|
||||
|
||||
custom_problem = app_client.get('/v1.0/customized_problem_response')
|
||||
assert custom_problem.status_code == 402
|
||||
assert custom_problem.status_code == 403
|
||||
problem_body = json.loads(custom_problem.data.decode('utf-8'))
|
||||
assert 'amount' in problem_body
|
||||
assert problem_body['amount'] == 23.
|
||||
|
||||
Reference in New Issue
Block a user