[Telepathy-commits] [telepathy-gabble/master] offer-accept-private-dbus-stream-tube-ibb: check that status and parameters are NOT in channel-properties as they are not immutable
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Jan 27 02:04:41 PST 2009
---
.../offer-accept-private-dbus-stream-tube-ibb.py | 4 ++++
1 files changed, 4 insertions(+), 0 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 9fe23d6..d17562a 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
@@ -334,6 +334,8 @@ def test(q, bus, conn, stream):
check_NewChannels_signal(new_sig.args, CHANNEL_TYPE_STREAM_TUBE, new_chan_path, \
bob_handle, 'bob at localhost', conn.GetSelfHandle())
stream_tube_channel_properties = new_sig.args[0][0]
+ assert TUBE_STATUS not in stream_tube_channel_properties
+ assert TUBE_PARAMETERS not in stream_tube_channel_properties
check_conn_properties(q, bus, conn, stream,
[old_tubes_channel_properties, stream_tube_channel_properties])
@@ -387,6 +389,8 @@ def test(q, bus, conn, stream):
bob_handle, "bob at localhost", self_handle)
props = new_chans.args[0][0][1]
+ assert TUBE_STATUS not in props
+ assert TUBE_PARAMETERS not in props
# We offered a tube using the old tube API and created one with the new
# API, so there are 2 tubes. Check the new tube API works
--
1.5.6.5
More information about the Telepathy-commits
mailing list