From 4bb226147a0faa3b0c92934f64585357bb197f68 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 20 May 2011 21:15:57 -0400 Subject: Make roster test a little more robust. --- tests/test_stream_roster.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py index d86ff955..15b8683a 100644 --- a/tests/test_stream_roster.py +++ b/tests/test_stream_roster.py @@ -192,7 +192,10 @@ class TestStreamRoster(SleekTest): "Unexpected roster values: %s" % self.xmpp.roster) self.recv(""" - + + away + Testing + """) # Give the event queue time to process. @@ -204,8 +207,8 @@ class TestStreamRoster(SleekTest): 'groups': ['Unicode'], 'presence': { 'bar':{'priority':0, - 'status':'', - 'show':'available'}}, + 'status':'Testing', + 'show':'away'}}, 'in_roster': True}} self.failUnless(self.xmpp.roster == roster, "Unexpected roster values: %s" % self.xmpp.roster) -- cgit v1.2.3