summaryrefslogtreecommitdiff
path: root/tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py')
-rw-r--r--tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py b/tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py
index eeab38cb..d2c0855d 100644
--- a/tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py
+++ b/tests/twisted/dispatcher/dispatch-delayed-by-mini-plugin.py
@@ -99,7 +99,7 @@ def signal_channel_expect_query(q, bus, account, conn, empathy, kopete):
def test(q, bus, mc):
params = dbus.Dictionary({"account": "someguy@example.com",
"password": "secrecy"}, signature='sv')
- cm_name_ref, account = create_fakecm_account(q, bus, mc, params)
+ simulated_cm, account = create_fakecm_account(q, bus, mc, params)
conn = enable_fakecm_account(q, bus, mc, account, params)
policy_bus_name_ref = dbus.service.BusName('com.example.Policy', bus)
@@ -145,10 +145,8 @@ def test(q, bus, mc):
args=[cdo_path]),
EventPattern('dbus-method-call',
path=chan.object_path,
- interface=cs.CHANNEL_IFACE_GROUP,
- # this error message is from the plugin
- method='RemoveMembersWithReason', args=[[conn.self_handle],
- "Computer says no", cs.GROUP_REASON_PERMISSION_DENIED],
+ interface=cs.CHANNEL_IFACE_DESTROYABLE,
+ method='Destroy',
handled=False),
)
q.dbus_return(e.message, signature='')