[Telepathy-commits] [telepathy-gabble/master] tests/twisted/tubes/test-si-tubes.py: Fix the test for Channel.Type.StreamTube.DRAFT

Alban Crequy alban.crequy at collabora.co.uk
Mon Nov 3 11:20:56 PST 2008


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

diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index d974269..cec0183 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -213,8 +213,8 @@ def test(q, bus, conn, stream):
                   x[1] == "org.freedesktop.Telepathy.Channel.Type.Tubes",
                   conn.ListChannels())) == 1
     assert len(filter(lambda x:
-                  x[1] == "org.freedesktop.Telepathy.Channel.Type.StreamTube",
-                  conn.ListChannels())) == 1
+      x[1] == "org.freedesktop.Telepathy.Channel.Type.StreamTube.DRAFT",
+      conn.ListChannels())) == 1
 
     #channels = filter(lambda x: x[1] != "org.freedesktop.Telepathy.Channel.Type.StreamTube.DRAFT", conn.ListChannels())
     #print str(len(channels))
-- 
1.5.6.5




More information about the Telepathy-commits mailing list