[Telepathy-commits] [telepathy-gabble/master] test-si-ibb-tubes.py; check Status and Parameters

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Jan 9 07:54:51 PST 2009


---
 tests/twisted/tubes/test-si-ibb-tubes.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/tubes/test-si-ibb-tubes.py b/tests/twisted/tubes/test-si-ibb-tubes.py
index 62a53a7..1817a1d 100644
--- a/tests/twisted/tubes/test-si-ibb-tubes.py
+++ b/tests/twisted/tubes/test-si-ibb-tubes.py
@@ -338,6 +338,8 @@ def test(q, bus, conn, stream):
     assert len(ret.value) == 2 # CreateChannel returns 2 values: o, a{sv}
     new_chan_path = ret.value[0]
     new_chan_prop_asv = ret.value[1]
+    assert new_chan_prop_asv[tp_name_prefix + '.Channel.Interface.Tube.DRAFT.Status'] == 3 # not offered
+    assert new_chan_prop_asv[tp_name_prefix + '.Channel.Interface.Tube.DRAFT.Parameters'] == {'foo': 'bar'}
     assert new_chan_path.find("StreamTube") != -1, new_chan_path
     assert new_chan_path.find("SITubesChannel") == -1, new_chan_path
     # The path of the Channel.Type.Tubes object MUST be different to the path
-- 
1.5.6.5



More information about the Telepathy-commits mailing list