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.
|
||||
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…
Reference in a new issue