[Telepathy-commits] [telepathy-gabble/master] offer-private-stream-tube.py: test using BytestreamSIFallback too
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Mar 2 02:33:27 PST 2009
---
tests/twisted/tubes/offer-private-stream-tube.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/tubes/offer-private-stream-tube.py b/tests/twisted/tubes/offer-private-stream-tube.py
index 55d7321..f663d46 100644
--- a/tests/twisted/tubes/offer-private-stream-tube.py
+++ b/tests/twisted/tubes/offer-private-stream-tube.py
@@ -3,10 +3,11 @@
import dbus
from servicetest import call_async, EventPattern, sync_dbus
-from gabbletest import acknowledge_iq, sync_stream
+from gabbletest import acknowledge_iq, sync_stream, exec_test
import constants as cs
import ns
import tubetestutil as t
+from bytestream import BytestreamSIFallback
from twisted.words.xish import domish, xpath
@@ -396,4 +397,8 @@ def test(q, bus, conn, stream, bytestream_cls):
q.expect('dbus-signal', signal='StatusChanged', args=[2, 1])
if __name__ == '__main__':
+ def test_si_fallback(q, bus, conn, stream):
+ test(q, bus, conn, stream, BytestreamSIFallback)
+
t.exec_tube_test(test)
+ exec_test(test_si_fallback)
--
1.5.6.5
More information about the telepathy-commits
mailing list