def test_unicode(self):
        k = self.F.ApiKeyFactory.build(key="12345")

        self.assertEqual(unicode(k), u"12345")
Unicode representation is the key.
dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_apikey.py/ApiKeyTest.test_unicode