[telepathy-gabble/master] olpc/olpc-muc-invitation.py: properly check the MembersChanged reason

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Jul 3 07:31:43 PDT 2009


---
 tests/twisted/olpc/olpc-muc-invitation.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/olpc/olpc-muc-invitation.py b/tests/twisted/olpc/olpc-muc-invitation.py
index c3a058a..8836e1d 100644
--- a/tests/twisted/olpc/olpc-muc-invitation.py
+++ b/tests/twisted/olpc/olpc-muc-invitation.py
@@ -125,7 +125,7 @@ def test(q, bus, conn, stream):
         )
 
     assert event.args == ['', [], [handles['bob']], [],
-            [handles['chat_self']], 0, handles['chat_self']]
+            [handles['chat_self']], 0, cs.GC_REASON_INVITED]
 
     # Send presence for own membership of room.
     stream.send(make_muc_presence('owner', 'moderator', 'chat at conf.localhost', 'test'))
-- 
1.5.6.5




More information about the telepathy-commits mailing list