From e68ea16d7a8b94b2e975d3b4407059f02906bca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20T=C3=B6rnqvist?= Date: Sat, 18 May 2013 17:43:47 +0300 Subject: [PATCH] Update FieldLabelTest to use new BasicModel.verbose_name --- rest_framework/tests/serializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index 343b958a8..59859ad7a 100644 --- a/rest_framework/tests/serializer.py +++ b/rest_framework/tests/serializer.py @@ -1158,7 +1158,7 @@ class FieldLabelTest(TestCase): serializer = self.serializer_class() 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) def test_field_ctor(self):