summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-05-20 21:36:09 -0400
committerLance Stout <lancestout@gmail.com>2011-05-20 21:36:09 -0400
commitbaa1eaf73a1892c5a653965ff65e6532115a9a76 (patch)
treeb9d36e6b4962cb44a0475a9b1dd1bb140df526f2
parent4c7da3899ee47778b749211edf5665cc700eb613 (diff)
downloadslixmpp-baa1eaf73a1892c5a653965ff65e6532115a9a76.tar.gz
slixmpp-baa1eaf73a1892c5a653965ff65e6532115a9a76.tar.bz2
slixmpp-baa1eaf73a1892c5a653965ff65e6532115a9a76.tar.xz
slixmpp-baa1eaf73a1892c5a653965ff65e6532115a9a76.zip
Fix test for Python3.
Issue of dict_keys vs list data types.
-rw-r--r--tests/test_stream_roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py
index 7f18c312..3bd71fc6 100644
--- a/tests/test_stream_roster.py
+++ b/tests/test_stream_roster.py
@@ -182,7 +182,7 @@ class TestStreamRoster(SleekTest):
subscription='both',
groups=['Unicode'])
- jids = self.xmpp.client_roster.keys()
+ jids = list(self.xmpp.client_roster.keys())
self.failUnless(jids == ['andré@foo'],
"Too many roster entries found: %s" % jids)