mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Fix incorrect test name. Fixes #635
This commit is contained in:
parent
8021bb5d50
commit
221e77d357
|
@ -842,7 +842,7 @@ class BlankFieldTests(TestCase):
|
||||||
serializer = self.not_blank_model_serializer_class(data=self.data)
|
serializer = self.not_blank_model_serializer_class(data=self.data)
|
||||||
self.assertEquals(serializer.is_valid(), False)
|
self.assertEquals(serializer.is_valid(), False)
|
||||||
|
|
||||||
def test_create_model_null_field(self):
|
def test_create_model_empty_field(self):
|
||||||
serializer = self.model_serializer_class(data={})
|
serializer = self.model_serializer_class(data={})
|
||||||
self.assertEquals(serializer.is_valid(), True)
|
self.assertEquals(serializer.is_valid(), True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user