[telepathy-gabble/master] Don't forbid session-initiate for no InitialA/V

Will Thompson will.thompson at collabora.co.uk
Tue Apr 14 10:09:24 PDT 2009


This check was wrong anyway: session-initiate is never sent until the
stream handlers are ready etc etc.
---
 tests/twisted/jingle/initial-audio-video.py |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/tests/twisted/jingle/initial-audio-video.py b/tests/twisted/jingle/initial-audio-video.py
index ff062c9..00b786e 100644
--- a/tests/twisted/jingle/initial-audio-video.py
+++ b/tests/twisted/jingle/initial-audio-video.py
@@ -36,13 +36,9 @@ def check_neither(jp, q, conn, bus, stream, remote_handle):
     """
     Make a channel without specifying InitialAudio or InitialVideo; check
     that it's announced with both False, and that they're both present and
-    false in GetAll(). Also, make sure that nothing's sent to the peer.
+    false in GetAll().
     """
 
-    si = EventPattern('stream-iq', predicate=lambda e:
-        jp.match_jingle_action(e.query, 'session-initiate'))
-    q.forbid_events([si])
-
     path, props = conn.Requests.CreateChannel({
         cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_STREAMED_MEDIA,
         cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT,
-- 
1.5.6.5




More information about the telepathy-commits mailing list