[telepathy-gabble/master] Small race-protection

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Jan 7 05:31:09 PST 2010


---
 tests/twisted/tubes/offer-muc-dbus-tube.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/tubes/offer-muc-dbus-tube.py b/tests/twisted/tubes/offer-muc-dbus-tube.py
index 96a5e21..dc58e73 100644
--- a/tests/twisted/tubes/offer-muc-dbus-tube.py
+++ b/tests/twisted/tubes/offer-muc-dbus-tube.py
@@ -360,7 +360,9 @@ def test(q, bus, conn, stream, access_control):
     text_chan.Close()
     q.expect_many(
         EventPattern('dbus-signal', signal='Closed'),
-        EventPattern('dbus-signal', signal='ChannelClosed'))
+        EventPattern('dbus-signal', signal='ChannelClosed'),
+        EventPattern('stream-presence', presence_type='unavailable')
+        )
 
     # rejoin the room
     call_async(q, conn.Requests, 'CreateChannel',
-- 
1.5.6.5




More information about the telepathy-commits mailing list