[Telepathy-commits] [telepathy-gabble/master] offer-private-dbus-tube-ibb.py: assert that Parameters and Status are not in channel-properties

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Jan 27 02:17:26 PST 2009


---
 tests/twisted/tubes/offer-private-dbus-tube-ibb.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/tubes/offer-private-dbus-tube-ibb.py b/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
index 182146f..73a8acf 100644
--- a/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
+++ b/tests/twisted/tubes/offer-private-dbus-tube-ibb.py
@@ -252,8 +252,8 @@ def offer_new_dbus_tube(q, bus, conn, stream, self_handle, alice_handle):
             == self_handle
     assert tube_props[tp_name_prefix + '.Channel.InitiatorID'] \
             == "test at localhost"
-    assert tube_props[tp_name_prefix + '.Channel.Interface.Tube.DRAFT.Parameters'] == sample_parameters
-    assert tube_props[tp_name_prefix + '.Channel.Interface.Tube.DRAFT.Status'] == TUBE_CHANNEL_STATE_NOT_OFFERED
+    assert TUBE_PARAMETERS not in tube_props
+    assert TUBE_STATUS not in tube_props
 
     # Under the current implementation, creating a new-style Tube channel
     # ensures that an old-style Tubes channel exists, even though Tube channels
-- 
1.5.6.5




More information about the Telepathy-commits mailing list