summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-09 15:31:49 (GMT)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-11 21:55:05 (GMT)
commit35c9e9e74ff79fd17e421d53810fbbf013a16298 (patch)
treedb01149838caafc26fb1baef2daa4ebb082b93c3
parent4cb131d57ee1978b65eb9947b178d5a30f708976 (diff)
downloadtelepathy-gabble-35c9e9e74ff79fd17e421d53810fbbf013a16298.tar.gz
telepathy-gabble-35c9e9e74ff79fd17e421d53810fbbf013a16298.tar.xz
protocol.py: stop testing old API
-rw-r--r--tests/twisted/cm/protocol.py7
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)