summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stream_roster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py
index 1f83f0ec..eb6d2f4f 100644
--- a/tests/test_stream_roster.py
+++ b/tests/test_stream_roster.py
@@ -125,7 +125,8 @@ 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={str('callback'): roster_callback})
+ kwargs={str('block'): False,
+ str('callback'): roster_callback})
t.start()
self.send("""