From 59d353c7907d940b9dc41f9bdbb47bfd05eb3c43 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 2 Oct 2013 19:49:16 +0100 Subject: [PATCH 3/6] contact-caps test: remove test coverage for obsolete Capabilities --- 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, -- 1.8.4.rc3