def test_ignore_case(self):
    self.type_instance = types.String(choices=['foo', 'bar'], ignore_case=True)
    self.assertConvertedValue('Foo', 'Foo')
    self.assertConvertedValue('bAr', 'bAr')
def test_ignore_case(self):
    self.type_instance = types.String(choices=['foo', 'bar'], ignore_case=True)
    self.assertConvertedValue('Foo', 'Foo')
    self.assertConvertedValue('bAr', 'bAr')