mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +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)
|
||||
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={})
|
||||
self.assertEquals(serializer.is_valid(), True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user