[Telepathy-commits] [telepathy-gabble/master] Remove redundant invalid tube requests
Will Thompson
will.thompson at collabora.co.uk
Tue Feb 3 03:36:30 PST 2009
---
.../offer-accept-private-dbus-stream-tube-ibb.py | 24 --------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-ibb.py b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-ibb.py
index 79072a9..bc967d4 100644
--- a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-ibb.py
+++ b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-ibb.py
@@ -238,30 +238,6 @@ def test(q, bus, conn, stream):
check_conn_properties(q, conn, [old_tubes_channel_properties])
- # Try to CreateChannel with unknown properties
- # Gabble must return an error
- call_async(q, requestotron, 'CreateChannel',
- {CHANNEL_TYPE: CHANNEL_TYPE_STREAM_TUBE,
- TARGET_HANDLE_TYPE: HT_CONTACT,
- TARGET_HANDLE: bob_handle,
- 'this.property.does.not.exist':
- 'this.value.should.not.exist'
- });
- 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 missing properties ("Service")
- # Gabble must return an error
- call_async(q, requestotron, 'CreateChannel',
- {CHANNEL_TYPE: CHANNEL_TYPE_STREAM_TUBE,
- TARGET_HANDLE_TYPE: HT_CONTACT,
- TARGET_HANDLE: bob_handle
- });
- 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