'Test XML export handles the unicode characters.'

def test_export_to_xml_unicode_characters(self):

    self.descriptor.display_name = '\xe8\xbf\x99\xe6\x98\xaf\xe6\x96\x87'
    xml = self.descriptor.definition_to_xml(None)
    self.assertEqual(xml.get('display_name'), u'\u8fd9\u662f\u6587')
