[telepathy-gabble/master] Be resiliant against other group flags changes

Sjoerd Simons sjoerd.simons at collabora.co.uk
Mon Jan 4 04:10:53 PST 2010


---
 tests/twisted/muc/test-muc-ownership.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/muc/test-muc-ownership.py b/tests/twisted/muc/test-muc-ownership.py
index 920c77d..8ef43fa 100644
--- a/tests/twisted/muc/test-muc-ownership.py
+++ b/tests/twisted/muc/test-muc-ownership.py
@@ -57,10 +57,10 @@ def test(q, bus, conn, stream):
     # Send presence for own membership of room.
     stream.send(make_muc_presence('none', 'participant', 'chat at conf.localhost', 'test'))
 
-    event = q.expect('dbus-signal', signal='GroupFlagsChanged')
     # Since we received MUC presence that contains an owner JID, the
     # OWNERS_NOT_AVAILABLE flag should be removed.
-    assert event.args == [0, cs.GF_HANDLE_OWNERS_NOT_AVAILABLE]
+    event = q.expect('dbus-signal', signal='GroupFlagsChanged',
+        args = [0, cs.GF_HANDLE_OWNERS_NOT_AVAILABLE ])
 
     event = q.expect('dbus-signal', signal='HandleOwnersChanged')
     owners = event.args[0]
-- 
1.5.6.5




More information about the telepathy-commits mailing list