[next] telepathy-idle: tests: be more careful to include an explicit interface in method calls
Simon McVittie
smcv at kemper.freedesktop.org
Thu Apr 3 07:32:27 PDT 2014
Module: telepathy-idle
Branch: next
Commit: 99b0206da70583c32672324cf91700ca474ff394
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=99b0206da70583c32672324cf91700ca474ff394
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Mon Mar 24 18:28:22 2014 +0000
tests: be more careful to include an explicit interface in method calls
GDBus doesn't implement implicit-interface method calls.
---
tests/twisted/connect/connect-reject-ssl.py | 2 +-
tests/twisted/connect/connect-success-ssl.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/connect/connect-reject-ssl.py b/tests/twisted/connect/connect-reject-ssl.py
index cd7d8e4..31058b0 100644
--- a/tests/twisted/connect/connect-reject-ssl.py
+++ b/tests/twisted/connect/connect-reject-ssl.py
@@ -18,7 +18,7 @@ def test(q, bus, conn, stream):
cert = bus.get_object (conn.bus_name, props[cs.TLS_CERT_PATH])
cert.Reject([(cs.TLS_REJECT_REASON_UNTRUSTED, cs.CERT_UNTRUSTED, {})],
- signature = 'a(usa{sv})')
+ signature = 'a(usa{sv})', dbus_interface=cs.AUTH_TLS_CERT)
q.expect('dbus-signal', signal='StatusChanged', args=[2, 2])
return True
diff --git a/tests/twisted/connect/connect-success-ssl.py b/tests/twisted/connect/connect-success-ssl.py
index 7268792..e9e0b5a 100644
--- a/tests/twisted/connect/connect-success-ssl.py
+++ b/tests/twisted/connect/connect-success-ssl.py
@@ -17,7 +17,7 @@ def test(q, bus, conn, stream):
path, props = e.args
cert = bus.get_object (conn.bus_name, props[cs.TLS_CERT_PATH])
- cert.Accept()
+ cert.Accept(dbus_interface=cs.AUTH_TLS_CERT)
q.expect('dbus-signal', signal='SelfContactChanged',
args=[1L, 'test'])
More information about the telepathy-commits
mailing list