diff --git a/tests/test_web.py b/tests/test_web.py index 0766b41..02310ba 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -110,3 +110,5 @@ class TestValidators(flask_testing.TestCase): '/', data=json.dumps({'foo': 'bar'}), content_type='application/json').data) self.assertEqual(b"'abc' is not of type 'number'", self.client.post( '/', data=json.dumps({'name': 'bar', 'age': 'abc'}), content_type='application/json').data) + self.assertEqual(b'ok', self.client.post( + '/', data=json.dumps({'name': 'bar', 'age': 55}), content_type='application/json').data)