telepathy-mission-control: contact-caps test: remove test coverage for obsolete Capabilities

Simon McVittie smcv at kemper.freedesktop.org
Fri Oct 4 05:07:11 PDT 2013


Module: telepathy-mission-control
Branch: master
Commit: bc0b641814245376c871bfacfc0727845dd854e3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=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 files changed, 1 insertions(+), 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,



More information about the telepathy-commits mailing list