Skip to content

Commit

Permalink
Merge pull request #12 from codehelp/master
Browse files Browse the repository at this point in the history
Fix test suite. Closes: #9
  • Loading branch information
zyga committed Apr 11, 2014
2 parents 3213d96 + b952127 commit 392b857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions json_schema_validator/tests/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ValidatorFailureTests(TestWithScenarios, TestCase):
'schema': '{"type": "boolean"}',
'data': '""',
'raises': ValidationError(
"'' does not match type 'boolean'",
"u'' does not match type 'boolean'",
"Object has incorrect type (expected boolean)"),
'object_expr': 'object',
'schema_expr': 'schema.type',
Expand Down Expand Up @@ -170,7 +170,7 @@ class ValidatorFailureTests(TestWithScenarios, TestCase):
'schema': '{"type": "null"}',
'data': '""',
'raises': ValidationError(
"'' does not match type 'null'",
"u'' does not match type 'null'",
"Object has incorrect type (expected null)"),
'object_expr': 'object',
'schema_expr': 'schema.type',
Expand Down

0 comments on commit 392b857

Please sign in to comment.