mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 05:36:50 +03:00
Update FieldLabelTest to use new BasicModel.verbose_name
This commit is contained in:
parent
e2a5ec0350
commit
e68ea16d7a
|
@ -1158,7 +1158,7 @@ class FieldLabelTest(TestCase):
|
||||||
serializer = self.serializer_class()
|
serializer = self.serializer_class()
|
||||||
text_field = serializer.fields['text']
|
text_field = serializer.fields['text']
|
||||||
|
|
||||||
self.assertEquals(u'Text', text_field.label)
|
self.assertEquals(u'Text comes here', text_field.label)
|
||||||
self.assertEquals(u'Text description.', text_field.help_text)
|
self.assertEquals(u'Text description.', text_field.help_text)
|
||||||
|
|
||||||
def test_field_ctor(self):
|
def test_field_ctor(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user