summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/ami/AllTests.py')
-rw-r--r--python/test/Ice/ami/AllTests.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/test/Ice/ami/AllTests.py b/python/test/Ice/ami/AllTests.py
index 0e65a97e46b..d49b1820cd9 100644
--- a/python/test/Ice/ami/AllTests.py
+++ b/python/test/Ice/ami/AllTests.py
@@ -376,14 +376,14 @@ class Thrower(CallbackBase):
self.called()
throwEx(self._t)
-def allTests(communicator, collocated):
- sref = "test:default -p 12010"
+def allTests(helper, communicator, collocated):
+ sref = "test:{0}".format(helper.getTestEndpoint(num=0))
obj = communicator.stringToProxy(sref)
test(obj)
p = Test.TestIntfPrx.uncheckedCast(obj)
- sref = "testController:default -p 12011"
+ sref = "testController:{0}".format(helper.getTestEndpoint(num=1))
obj = communicator.stringToProxy(sref)
test(obj)
@@ -1303,14 +1303,14 @@ def allTests(communicator, collocated):
print("ok")
-def allTestsFuture(communicator, collocated):
- sref = "test:default -p 12010"
+def allTestsFuture(helper, communicator, collocated):
+ sref = "test:{0}".format(helper.getTestEndpoint(num=0))
obj = communicator.stringToProxy(sref)
test(obj)
p = Test.TestIntfPrx.uncheckedCast(obj)
- sref = "testController:default -p 12011"
+ sref = "testController:{0}".format(helper.getTestEndpoint(num=1))
obj = communicator.stringToProxy(sref)
test(obj)