1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-05-08 01:43:43 +03:00

Fix test name

This commit is contained in:
Ryan P Kilby 2017-08-31 08:26:14 -04:00
parent 27c382c98d
commit bc49746dd3

View File

@ -411,7 +411,7 @@ class TestDefaultOutput:
serializer = self.Serializer(instance) serializer = self.Serializer(instance)
assert serializer.data == {'has_default': 'def', 'has_default_callable': 'ghi', 'no_default': 'abc'} assert serializer.data == {'has_default': 'def', 'has_default_callable': 'ghi', 'no_default': 'abc'}
def test_default_for_source_source(self): def test_default_for_dotted_source(self):
""" """
'default="something"' should be used when a traversed attribute is missing from input. 'default="something"' should be used when a traversed attribute is missing from input.
""" """