'Tests the coerce_types helper'

@ddt.data((1, 1), (object, u"<type    'object'>"), (1.5, 1.5), (u'\xfa\xf1\xee\xe7\xf8\u2202\xe9', u'\xfa\xf1\xee\xe7\xf8\u2202\xe9'), ('plain    string', 'plain    string'), (True, True), (None, u'None'), ((1,), u'(1,)'), ([object, object], [u"<type    'object'>", u"<type    'object'>"]))
@ddt.unpack
def test_coerce_types(self, original_value, coerced_expected):

    coerced_value = coerce_types(original_value)
    self.assertEqual(coerced_value, coerced_expected)
