summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/AllTests.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-08-06 11:56:42 +0200
committerJose <jose@zeroc.com>2018-08-06 11:56:42 +0200
commit7972f07a3aa244dcde673b7cb5541e70da9193bb (patch)
tree117faced1bb36ac256c7d362e11ac1c49e8e8c88 /python/test/Ice/exceptions/AllTests.py
parentUpdate JavaScript tests to use TestHelper class (diff)
downloadice-7972f07a3aa244dcde673b7cb5541e70da9193bb.tar.bz2
ice-7972f07a3aa244dcde673b7cb5541e70da9193bb.tar.xz
ice-7972f07a3aa244dcde673b7cb5541e70da9193bb.zip
Python test suite updates
Diffstat (limited to 'python/test/Ice/exceptions/AllTests.py')
-rw-r--r--python/test/Ice/exceptions/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/exceptions/AllTests.py b/python/test/Ice/exceptions/AllTests.py
index 6639b456870..163caee8ddf 100644
--- a/python/test/Ice/exceptions/AllTests.py
+++ b/python/test/Ice/exceptions/AllTests.py
@@ -212,7 +212,7 @@ class Callback(CallbackBase):
test(False)
self.called()
-def allTests(communicator):
+def allTests(helper, communicator):
sys.stdout.write("testing servant registration exceptions... ")
sys.stdout.flush()
communicator.getProperties().setProperty("TestAdapter1.Endpoints", "tcp -h *")
@@ -275,7 +275,7 @@ def allTests(communicator):
sys.stdout.write("testing stringToProxy... ")
sys.stdout.flush()
- ref = "thrower:default -p 12010"
+ ref = "thrower:{0}".format(helper.getTestEndpoint())
base = communicator.stringToProxy(ref)
test(base)
print("ok")