diff options
| author | Tom Christie | 2014-09-12 11:38:22 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-12 11:38:22 +0100 |
| commit | 5e39e159ee6aee90755709cfecec7d22c7ea3049 (patch) | |
| tree | 2421651bc6b329fc134ed770b1c24fc1a496ae9d /tests/test_validation.py | |
| parent | 250755def707e1397876614fa0c08130d9fcc449 (diff) | |
| download | django-rest-framework-5e39e159ee6aee90755709cfecec7d22c7ea3049.tar.bz2 | |
UNICODE_JSON and COMPACT_JSON settings
Diffstat (limited to 'tests/test_validation.py')
| -rw-r--r-- | tests/test_validation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_validation.py b/tests/test_validation.py index 7543d849..ce39714d 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -131,7 +131,7 @@ class TestMaxValueValidatorValidation(TestCase): request = factory.patch('/{0}'.format(obj.pk), {'number_value': 101}, format='json') view = UpdateMaxValueValidationModel().as_view() response = view(request, pk=obj.pk).render() - self.assertEqual(response.content, b'{"number_value": ["Ensure this value is less than or equal to 100."]}') + self.assertEqual(response.content, b'{"number_value":["Ensure this value is less than or equal to 100."]}') self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST) |
