[telepathy-gabble/master] run D-Bus tube tests with the Localhost access control
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue May 26 03:11:39 PDT 2009
---
tests/twisted/tubes/accept-muc-dbus-tube.py | 2 ++
tests/twisted/tubes/offer-muc-dbus-tube.py | 2 ++
tests/twisted/tubes/tubetestutil.py | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/tubes/accept-muc-dbus-tube.py b/tests/twisted/tubes/accept-muc-dbus-tube.py
index 53b636a..4eb61a7 100644
--- a/tests/twisted/tubes/accept-muc-dbus-tube.py
+++ b/tests/twisted/tubes/accept-muc-dbus-tube.py
@@ -114,3 +114,5 @@ if __name__ == '__main__':
# We can't use t.exec_dbus_tube_test() as we can use only the muc bytestream
exec_test(lambda q, bus, conn, stream:
test(q, bus, conn, stream, c.SOCKET_ACCESS_CONTROL_CREDENTIALS))
+ exec_test(lambda q, bus, conn, stream:
+ test(q, bus, conn, stream, c.SOCKET_ACCESS_CONTROL_LOCALHOST))
diff --git a/tests/twisted/tubes/offer-muc-dbus-tube.py b/tests/twisted/tubes/offer-muc-dbus-tube.py
index abac1f3..ca9622e 100644
--- a/tests/twisted/tubes/offer-muc-dbus-tube.py
+++ b/tests/twisted/tubes/offer-muc-dbus-tube.py
@@ -352,3 +352,5 @@ if __name__ == '__main__':
# We can't use t.exec_dbus_tube_test() as we can use only the muc bytestream
exec_test(lambda q, bus, conn, stream:
test(q, bus, conn, stream, cs.SOCKET_ACCESS_CONTROL_CREDENTIALS))
+ exec_test(lambda q, bus, conn, stream:
+ test(q, bus, conn, stream, cs.SOCKET_ACCESS_CONTROL_LOCALHOST))
diff --git a/tests/twisted/tubes/tubetestutil.py b/tests/twisted/tubes/tubetestutil.py
index 2572526..692e140 100644
--- a/tests/twisted/tubes/tubetestutil.py
+++ b/tests/twisted/tubes/tubetestutil.py
@@ -364,3 +364,4 @@ def exec_stream_tube_test(test):
def exec_dbus_tube_test(test):
exec_tube_test(test, cs.SOCKET_ACCESS_CONTROL_CREDENTIALS)
+ exec_tube_test(test, cs.SOCKET_ACCESS_CONTROL_LOCALHOST)
--
1.5.6.5
More information about the telepathy-commits
mailing list