mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
Merge branch 'master' into 2.2
This commit is contained in:
commit
937ef00808
|
@ -845,7 +845,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