[Pkg-telepathy-commits] [telepathy-mission-control-6] 42/280: contact-caps test: remove test coverage for obsolete Capabilities

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit bc0b641814245376c871bfacfc0727845dd854e3
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Oct 2 19:49:16 2013 +0100

    contact-caps test: remove test coverage for obsolete Capabilities
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54879
    Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
 tests/twisted/capabilities/contact-caps.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/tests/twisted/capabilities/contact-caps.py b/tests/twisted/capabilities/contact-caps.py
index 7c49fcd..72fddcf 100644
--- a/tests/twisted/capabilities/contact-caps.py
+++ b/tests/twisted/capabilities/contact-caps.py
@@ -33,13 +33,6 @@ from mctest import exec_test, SimulatedConnection, SimulatedClient, \
 import constants as cs
 
 def test(q, bus, mc):
-    forbidden = [
-            EventPattern('dbus-method-call', handled=False,
-                interface=cs.CONN_IFACE_CAPS,
-                method='AdvertiseCapabilities'),
-            ]
-    q.forbid_events(forbidden)
-
     # Two clients want to handle channels: MediaCall is running, and AbiWord
     # is activatable.
 
@@ -106,8 +99,7 @@ def test(q, bus, mc):
         "password": "secrecy"}, signature='sv')
     cm_name_ref, account = create_fakecm_account(q, bus, mc, params)
     conn, before = enable_fakecm_account(q, bus, mc, account, params,
-            extra_interfaces=[cs.CONN_IFACE_CONTACT_CAPS,
-                cs.CONN_IFACE_CAPS],
+            extra_interfaces=[cs.CONN_IFACE_CONTACT_CAPS],
             expect_before_connect=[
                 EventPattern('dbus-method-call', handled=False,
                     interface=cs.CONN_IFACE_CONTACT_CAPS,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list