summaryrefslogtreecommitdiff
path: root/python/test/Ice/optional/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/optional/AllTests.py')
-rw-r--r--python/test/Ice/optional/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/optional/AllTests.py b/python/test/Ice/optional/AllTests.py
index 9d2ae3da261..c4ab914f39f 100644
--- a/python/test/Ice/optional/AllTests.py
+++ b/python/test/Ice/optional/AllTests.py
@@ -13,10 +13,10 @@ def test(b):
if not b:
raise RuntimeError('test assertion failed')
-def allTests(communicator):
+def allTests(helper, communicator):
sys.stdout.write("testing stringToProxy... ")
sys.stdout.flush()
- ref = "initial:default -p 12010"
+ ref = "initial:{0}".format(helper.getTestEndpoint())
base = communicator.stringToProxy(ref)
test(base)
print("ok")