Skip to content

Commit

Permalink
#108 Fix tests in Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcs committed Dec 11, 2015
1 parent cb31f8b commit 466de9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def test_schema_format(app):
assert wrong_type.content_type == 'application/problem+json'
wrong_type_response = json.loads(wrong_type.data.decode()) # type: dict
assert wrong_type_response['title'] == 'Bad Request'
assert wrong_type_response['detail'].startswith("'xy' is not a 'date-time'")
assert "'xy' is not a 'date-time'" in wrong_type_response['detail']


def test_single_route(app):
Expand Down

0 comments on commit 466de9f

Please sign in to comment.