Update FieldLabelTest to use new BasicModel.verbose_name

This commit is contained in:
Markus Törnqvist 2013-05-18 17:43:47 +03:00
parent e2a5ec0350
commit e68ea16d7a

View File

@ -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):