telepathy-gabble: groups-12792 test: remove unused function

Simon McVittie smcv at kemper.freedesktop.org
Mon Sep 23 02:38:40 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: 7f76a50378e5b029f665d70eec20b0ab3a874f39
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=7f76a50378e5b029f665d70eec20b0ab3a874f39

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Sep 20 16:03:06 2013 +0100

groups-12792 test: remove unused function

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69618
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 tests/twisted/roster/groups-12791.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/tests/twisted/roster/groups-12791.py b/tests/twisted/roster/groups-12791.py
index 5f80b05..16be3f7 100644
--- a/tests/twisted/roster/groups-12791.py
+++ b/tests/twisted/roster/groups-12791.py
@@ -10,18 +10,6 @@ from servicetest import assertLength
 import constants as cs
 import ns
 
-def _expect_group_channel(q, bus, conn, name, contacts):
-    event = q.expect('dbus-signal', signal='NewChannel')
-    path, type, handle_type, handle, suppress_handler = event.args
-    assert type == cs.CHANNEL_TYPE_CONTACT_LIST, type
-    assert handle_type == cs.HT_GROUP, handle_type
-    inspected = conn.InspectHandles(handle_type, [handle])[0]
-    assert inspected == name, (inspected, name)
-    chan = bus.get_object(conn.bus_name, path)
-    group_iface = dbus.Interface(chan, cs.CHANNEL_IFACE_GROUP)
-    inspected = conn.InspectHandles(cs.HT_CONTACT, group_iface.GetMembers())
-    assert inspected == contacts, (inspected, contacts)
-
 def test(q, bus, conn, stream):
     event = q.expect('stream-iq', query_ns=ns.ROSTER)
     event.stanza['type'] = 'result'



More information about the telepathy-commits mailing list