summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLance Stout <lance@misbehave.local>2011-05-25 15:52:42 -0700
committerLance Stout <lance@misbehave.local>2011-05-25 15:52:42 -0700
commitec9aed5b751cac187b774794c7d8ca9de298838a (patch)
treeb8367e018bff9135d573cc18d4d85f378be7df3c /tests
parent7152d93dd05346fdb7dbe1893bff6395f83a79a9 (diff)
downloadslixmpp-ec9aed5b751cac187b774794c7d8ca9de298838a.tar.gz
slixmpp-ec9aed5b751cac187b774794c7d8ca9de298838a.tar.bz2
slixmpp-ec9aed5b751cac187b774794c7d8ca9de298838a.tar.xz
slixmpp-ec9aed5b751cac187b774794c7d8ca9de298838a.zip
Fix test for get_roster().
Python2.6 has issues passing a Unicode string as a keyword name.
Diffstat (limited to 'tests')
-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 15b8683a..e1aa1766 100644
--- a/tests/test_stream_roster.py
+++ b/tests/test_stream_roster.py
@@ -136,7 +136,7 @@ class TestStreamRoster(SleekTest):
# Since get_roster blocks, we need to run it in a thread.
t = threading.Thread(name='get_roster',
target=self.xmpp.get_roster,
- kwargs={'callback': roster_callback})
+ kwargs={str('callback'): roster_callback})
t.start()
self.send("""