[Telepathy-commits] [telepathy-gabble/master] test-muc-ownership: expect the local self-handle to be owned by the global self-handle

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:01 PDT 2008


20080526162859-53eee-a7804a48fee26e9846684f7e42161cccc3cae901.gz
---
 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 d25bfbf..24430c6 100644
--- a/tests/twisted/muc/test-muc-ownership.py
+++ b/tests/twisted/muc/test-muc-ownership.py
@@ -99,7 +99,7 @@ def test(q, bus, conn, stream):
     assert event.args == [0, 1024]
 
     event = q.expect('dbus-signal', signal='HandleOwnersChanged',
-        args=[{2: 0, 3: 0, 4: 0, 5: 6, 7: 8}, []])
+        args=[{2: 1, 3: 0, 4: 0, 5: 6, 7: 8}, []])
 
     event = q.expect('dbus-signal', signal='MembersChanged',
         args=[u'', [2, 3, 4, 5, 7], [], [], [], 0, 0])
@@ -137,7 +137,7 @@ def test(q, bus, conn, stream):
     assert all[u'Members'] == [2, 3, 4, 5, 7], all
     assert all[u'RemotePendingMembers'] == [], all
     assert all[u'SelfHandle'] == 2, all
-    assert all[u'HandleOwners'] == { 2: 0, 3: 0, 4: 0, 5: 6, 7: 8 }, all
+    assert all[u'HandleOwners'] == { 2: 1, 3: 0, 4: 0, 5: 6, 7: 8 }, all
     assert (all[u'GroupFlags'] & 2048) == 2048, all.get('GroupFlags')
 
     conn.Disconnect()
-- 
1.5.6.3




More information about the Telepathy-commits mailing list