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
@ -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("""
|
||||
|
Loading…
x
Reference in New Issue
Block a user