'Regression test for bug #1669683.
List and dict fields with unicode cannot be correctly
displayed.
Ensure that once we fix this it doesn\'t regress.'

def test_unicode_tag_correctly_displayed(self):

    uuid = self._boot_server_with_tags(tags=['\xe4\xb8\xad\xe6\x96\x87\xe6\xa0\x87\xe7\xad\xbe'])
    output = self.nova(('show    %s' % uuid))
    self.assertEqual('["\xe4\xb8\xad\xe6\x96\x87\xe6\xa0\x87\xe7\xad\xbe"]', self._get_value_from_the_table(output, 'tags'))
