mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fix test for Python3.
Issue of dict_keys vs list data types.
This commit is contained in:
parent
4c7da3899e
commit
baa1eaf73a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue