summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-11-21 14:30:29 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-11-21 14:30:29 +0000
commit98209cce2ab939a2aa95bb830e1015c54fb892eb (patch)
tree8f3ce82fd6ed30d775b94d211f05bf71a6da0bfc
parent9a6de298a8d384b2ae6f5d2608d1ab385301b746 (diff)
Mangle test name into connection parameters.
In Gabble, we push the name of the test being run into the connection parameters by abusing the fact that Gabble accepts a resource as part of the 'account' parameter, but overrides it with the value of the 'resource' parameter. Haze doesn't have a resource parameter, so we can't use that trickā€¦ so, instead, let's shove it into the file transfer proxy list parameter.
-rw-r--r--tests/twisted/hazetest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/twisted/hazetest.py b/tests/twisted/hazetest.py
index 2c43b53..90c3422 100644
--- a/tests/twisted/hazetest.py
+++ b/tests/twisted/hazetest.py
@@ -476,8 +476,9 @@ def make_connection(bus, event_func, params=None, suffix=''):
default_params = {
'account': account,
'password': 'pass',
- # XXX Haze: fd.o#14212
+ # XXX Haze: fd.o#14212.
#'resource': 'Resource',
+ 'ft-proxies': sys.argv[0],
'server': 'localhost',
'port': dbus.UInt32(4242),
# XXX Haze