Fix test for get_roster().

Python2.6 has issues passing a Unicode string as a keyword name.
This commit is contained in:
Lance Stout 2011-05-25 15:52:42 -07:00
parent 7152d93dd0
commit ec9aed5b75

View file

@ -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("""