Drop another case of u'', this time from #530 code

This commit is contained in:
Markus Törnqvist 2013-05-18 18:38:37 +03:00
parent 1fd66fe8c6
commit 99848b0321

View File

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