mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
Fix test for get_roster().
Python2.6 has issues passing a Unicode string as a keyword name.
This commit is contained in:
parent
7152d93dd0
commit
ec9aed5b75
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class TestStreamRoster(SleekTest):
|
||||||
# Since get_roster blocks, we need to run it in a thread.
|
# Since get_roster blocks, we need to run it in a thread.
|
||||||
t = threading.Thread(name='get_roster',
|
t = threading.Thread(name='get_roster',
|
||||||
target=self.xmpp.get_roster,
|
target=self.xmpp.get_roster,
|
||||||
kwargs={'callback': roster_callback})
|
kwargs={str('callback'): roster_callback})
|
||||||
t.start()
|
t.start()
|
||||||
|
|
||||||
self.send("""
|
self.send("""
|
||||||
|
|
Loading…
Reference in a new issue