[telepathy-gabble/master] run stream tube tests with IPv4 as socket type

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Apr 29 10:45:40 PDT 2009


---
 tests/twisted/tubes/tubetestutil.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/tubes/tubetestutil.py b/tests/twisted/tubes/tubetestutil.py
index 0484b11..a33c978 100644
--- a/tests/twisted/tubes/tubetestutil.py
+++ b/tests/twisted/tubes/tubetestutil.py
@@ -267,4 +267,7 @@ def exec_tube_test(test, *args):
             test(q, bus, conn, stream, bytestream_cls, *args))
 
 def exec_stream_tube_test(test):
-    exec_tube_test(test, cs.SOCKET_ADDRESS_TYPE_UNIX, cs.SOCKET_ACCESS_CONTROL_LOCALHOST, "")
+    for address_type, access_control, access_control_param in [
+            (cs.SOCKET_ADDRESS_TYPE_UNIX, cs.SOCKET_ACCESS_CONTROL_LOCALHOST, ""),
+            (cs.SOCKET_ADDRESS_TYPE_IPV4, cs.SOCKET_ACCESS_CONTROL_LOCALHOST, "")]:
+        exec_tube_test(test, address_type, access_control, access_control_param)
-- 
1.5.6.5




More information about the telepathy-commits mailing list