Add assertion in test

This commit is contained in:
Yuri Prezument 2013-02-21 12:35:24 +02:00
parent 1b4c078db2
commit 8fa82822a0

View File

@ -351,7 +351,7 @@ class ValidationTests(TestCase):
serializer = CommentSerializer(data=data) serializer = CommentSerializer(data=data)
self.assertEquals(serializer.is_valid(), False) self.assertEquals(serializer.is_valid(), False)
# TODO: check validation error value self.assertIn('created', serializer.errors)
class CustomValidationTests(TestCase): class CustomValidationTests(TestCase):