summaryrefslogtreecommitdiff
path: root/python/test/Ice/objects/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/objects/AllTests.py')
-rw-r--r--python/test/Ice/objects/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/objects/AllTests.py b/python/test/Ice/objects/AllTests.py
index b9f00d1572a..5c254de44de 100644
--- a/python/test/Ice/objects/AllTests.py
+++ b/python/test/Ice/objects/AllTests.py
@@ -39,7 +39,7 @@ def test(b):
if not b:
raise RuntimeError('test assertion failed')
-def allTests(communicator):
+def allTests(helper, communicator):
communicator.getValueFactoryManager().add(MyValueFactory, '::Test::B')
communicator.getValueFactoryManager().add(MyValueFactory, '::Test::C')
communicator.getValueFactoryManager().add(MyValueFactory, '::Test::D')
@@ -53,7 +53,7 @@ def allTests(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")