[Telepathy-commits] [telepathy-gabble/master] Don't check that DBusTube is unsupported in a StreamTube test!

Will Thompson will.thompson at collabora.co.uk
Tue Feb 3 03:37:00 PST 2009


---
 ...offer-accept-private-dbus-stream-tube-socks5.py |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
index 342b675..b0cba2b 100644
--- a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
+++ b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
@@ -312,25 +312,6 @@ def test(q, bus, conn, stream):
     old_tubes_channel_properties = new_sig.args[0][0]
 
     check_conn_properties(q, conn, [old_tubes_channel_properties])
-
-    # Try to create a DBusTube.DRAFT channel. This is not implemented yet, so
-    # it will fail. But it should not assert.
-    call_async(q, requestotron, 'CreateChannel',
-            {'org.freedesktop.Telepathy.Channel.ChannelType':
-                'org.freedesktop.Telepathy.Channel.Type.DBusTube.DRAFT',
-             'org.freedesktop.Telepathy.Channel.TargetHandleType':
-                1,
-             'org.freedesktop.Telepathy.Channel.TargetHandle':
-                bob_handle,
-             'org.freedesktop.Telepathy.Channel.Type.DBusTube.DRAFT.ServiceName':
-                "com.example.ServiceName",
-             'org.freedesktop.Telepathy.Channel.Interface.Tube.DRAFT.Parameters':
-                dbus.Dictionary({'foo': 'bar'}, signature='sv'),
-            });
-    ret = q.expect_many(EventPattern('dbus-error', method='CreateChannel'))
-    # CreateChannel failed, we expect no new channel
-    check_conn_properties(q, conn, [old_tubes_channel_properties])
-
     # Try to CreateChannel with correct properties
     # Gabble must succeed
     call_async(q, requestotron, 'CreateChannel',
-- 
1.5.6.5




More information about the telepathy-commits mailing list