[Telepathy-commits] [telepathy-gabble/master] Remove DRAFT from Requests iface name in tests
Will Thompson
will.thompson at collabora.co.uk
Mon Sep 15 11:03:06 PDT 2008
---
tests/twisted/muc/roomlist.py | 4 ++--
tests/twisted/text/initiate-requestotron.py | 6 +++---
tests/twisted/tubes/test-si-tubes.py | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/twisted/muc/roomlist.py b/tests/twisted/muc/roomlist.py
index 299735d..5215c91 100644
--- a/tests/twisted/muc/roomlist.py
+++ b/tests/twisted/muc/roomlist.py
@@ -40,7 +40,7 @@ def test(q, bus, conn, stream):
sync_stream(q, stream)
properties = conn.GetAll(
- tp_name_prefix + '.Connection.Interface.Requests.DRAFT',
+ tp_name_prefix + '.Connection.Interface.Requests',
dbus_interface='org.freedesktop.DBus.Properties')
assert properties.get('Channels') == [], properties['Channels']
assert ({tp_name_prefix + '.Channel.ChannelType':
@@ -118,7 +118,7 @@ def test(q, bus, conn, stream):
# FIXME: actually list the rooms!
requestotron = dbus.Interface(conn,
- tp_name_prefix + '.Connection.Interface.Requests.DRAFT')
+ tp_name_prefix + '.Connection.Interface.Requests')
call_async(q, requestotron, 'CreateChannel',
{ tp_name_prefix + '.Channel.ChannelType':
tp_name_prefix + '.Channel.Type.RoomList',
diff --git a/tests/twisted/text/initiate-requestotron.py b/tests/twisted/text/initiate-requestotron.py
index d3f17ea..1dced32 100644
--- a/tests/twisted/text/initiate-requestotron.py
+++ b/tests/twisted/text/initiate-requestotron.py
@@ -22,7 +22,7 @@ def test(q, bus, conn, stream):
foo_handle = event.value[0][0]
properties = conn.GetAll(
- 'org.freedesktop.Telepathy.Connection.Interface.Requests.DRAFT',
+ 'org.freedesktop.Telepathy.Connection.Interface.Requests',
dbus_interface='org.freedesktop.DBus.Properties')
assert properties.get('Channels') == [], properties['Channels']
assert ({'org.freedesktop.Telepathy.Channel.ChannelType':
@@ -36,7 +36,7 @@ def test(q, bus, conn, stream):
properties['RequestableChannelClasses']
requestotron = dbus.Interface(conn,
- 'org.freedesktop.Telepathy.Connection.Interface.Requests.DRAFT')
+ 'org.freedesktop.Telepathy.Connection.Interface.Requests')
call_async(q, requestotron, 'CreateChannel',
{ 'org.freedesktop.Telepathy.Channel.ChannelType':
'org.freedesktop.Telepathy.Channel.Type.Text',
@@ -80,7 +80,7 @@ def test(q, bus, conn, stream):
assert new_sig.args[0][0][1] == ret.value[1]
properties = conn.GetAll(
- 'org.freedesktop.Telepathy.Connection.Interface.Requests.DRAFT',
+ 'org.freedesktop.Telepathy.Connection.Interface.Requests',
dbus_interface='org.freedesktop.DBus.Properties')
assert new_sig.args[0][0] in properties['Channels'], \
diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index 0ad6db8..da8e7ab 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -52,7 +52,7 @@ def test(q, bus, conn, stream):
conn.Connect()
properties = conn.GetAll(
- 'org.freedesktop.Telepathy.Connection.Interface.Requests.DRAFT',
+ 'org.freedesktop.Telepathy.Connection.Interface.Requests',
dbus_interface='org.freedesktop.DBus.Properties')
assert properties.get('Channels') == [], properties['Channels']
assert ({'org.freedesktop.Telepathy.Channel.ChannelType':
@@ -139,7 +139,7 @@ def test(q, bus, conn, stream):
'test at localhost'
properties = conn.GetAll(
- 'org.freedesktop.Telepathy.Connection.Interface.Requests.DRAFT',
+ 'org.freedesktop.Telepathy.Connection.Interface.Requests',
dbus_interface='org.freedesktop.DBus.Properties')
assert new_sig.args[0][0] in properties['Channels'], \
--
1.5.6.5
More information about the Telepathy-commits
mailing list