diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index 24a2d6447..e85323e0c 100644 --- a/rest_framework/tests/serializer.py +++ b/rest_framework/tests/serializer.py @@ -351,7 +351,7 @@ class ValidationTests(TestCase): serializer = CommentSerializer(data=data) self.assertEquals(serializer.is_valid(), False) - # TODO: check validation error value + self.assertIn('created', serializer.errors) class CustomValidationTests(TestCase):