Fix test for Python3.

Issue of dict_keys vs list data types.
This commit is contained in:
Lance Stout 2011-05-20 21:36:09 -04:00
parent 4c7da3899e
commit baa1eaf73a

View file

@ -182,7 +182,7 @@ class TestStreamRoster(SleekTest):
subscription='both', subscription='both',
groups=['Unicode']) groups=['Unicode'])
jids = self.xmpp.client_roster.keys() jids = list(self.xmpp.client_roster.keys())
self.failUnless(jids == ['andré@foo'], self.failUnless(jids == ['andré@foo'],
"Too many roster entries found: %s" % jids) "Too many roster entries found: %s" % jids)