mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Drop another case of u'', this time from #530 code
This commit is contained in:
parent
1fd66fe8c6
commit
99848b0321
|
@ -1343,9 +1343,9 @@ class FieldLabelTest(TestCase):
|
||||||
"""
|
"""
|
||||||
This is check that ctor supports both label and help_text.
|
This is check that ctor supports both label and help_text.
|
||||||
"""
|
"""
|
||||||
self.assertEquals(u'Label', fields.Field(label='Label', help_text='Help').label)
|
self.assertEquals('Label', fields.Field(label='Label', help_text='Help').label)
|
||||||
self.assertEquals(u'Help', fields.CharField(label='Label', help_text='Help').help_text)
|
self.assertEquals('Help', fields.CharField(label='Label', help_text='Help').help_text)
|
||||||
self.assertEquals(u'Label', relations.ManyHyperlinkedRelatedField(view_name='fake', label='Label', help_text='Help').label)
|
self.assertEquals('Label', relations.ManyHyperlinkedRelatedField(view_name='fake', label='Label', help_text='Help').label)
|
||||||
|
|
||||||
|
|
||||||
class AttributeMappingOnAutogeneratedFieldsTests(TestCase):
|
class AttributeMappingOnAutogeneratedFieldsTests(TestCase):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user