summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-24 18:28:22 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-24 20:19:07 +0000
commit99b0206da70583c32672324cf91700ca474ff394 (patch)
treec3395944dc7b0c5ecca54e37986f107ba8cef0a3
parentc208104ea43d7eb55ef8c77bfc726b109fc0bf5a (diff)
downloadtelepathy-idle-99b0206da70583c32672324cf91700ca474ff394.tar.gz
tests: be more careful to include an explicit interface in method calls
GDBus doesn't implement implicit-interface method calls.
-rw-r--r--tests/twisted/connect/connect-reject-ssl.py2
-rw-r--r--tests/twisted/connect/connect-success-ssl.py2
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'])