telepathy-gabble: protocol.py: stop testing old API
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Fri Oct 11 14:58:34 PDT 2013
Module: telepathy-gabble
Branch: master
Commit: 35c9e9e74ff79fd17e421d53810fbbf013a16298
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=35c9e9e74ff79fd17e421d53810fbbf013a16298
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Wed Oct 9 11:31:49 2013 -0400
protocol.py: stop testing old API
---
tests/twisted/cm/protocol.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tests/twisted/cm/protocol.py b/tests/twisted/cm/protocol.py
index f53319e..2c34036 100644
--- a/tests/twisted/cm/protocol.py
+++ b/tests/twisted/cm/protocol.py
@@ -10,19 +10,12 @@ import constants as cs
def test(q, bus, conn, stream):
cm = bus.get_object(cs.CM + '.gabble',
tp_path_prefix + '/ConnectionManager/gabble')
- cm_iface = dbus.Interface(cm, cs.CM)
cm_prop_iface = dbus.Interface(cm, cs.PROPERTIES_IFACE)
protocols = unwrap(cm_prop_iface.Get(cs.CM, 'Protocols'))
assertEquals(set(['jabber']), set(protocols.keys()))
- protocol_names = unwrap(cm_iface.ListProtocols())
- assertEquals(set(['jabber']), set(protocol_names))
-
- cm_params = cm_iface.GetParameters('jabber')
jabber_props = protocols['jabber']
- jabber_params = jabber_props[cs.PROTOCOL + '.Parameters']
- assertEquals(cm_params, jabber_params)
proto = bus.get_object(cm.bus_name, cm.object_path + '/jabber')
proto_iface = dbus.Interface(proto, cs.PROTOCOL)
More information about the telepathy-commits
mailing list