mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +03:00
Fix test name
This commit is contained in:
parent
27c382c98d
commit
bc49746dd3
|
@ -411,7 +411,7 @@ class TestDefaultOutput:
|
|||
serializer = self.Serializer(instance)
|
||||
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.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user