summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_stream_roster.py9
1 files changed, 6 insertions, 3 deletions
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("""
- <presence from="andré@foo/bar" />
+ <presence to="tester@localhost" from="andré@foo/bar">
+ <show>away</show>
+ <status>Testing</status>
+ </presence>
""")
# 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)