summaryrefslogtreecommitdiff
path: root/python/test/Ice/blobject/Client.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-08-14 20:02:53 +0200
committerJose <jose@zeroc.com>2018-08-14 20:03:24 +0200
commit7d722e7eb41abd0147458c72285f6fea706c980e (patch)
tree3d7d1884d6fccfd8a44ab9dabb8d833813aee846 /python/test/Ice/blobject/Client.py
parentFixed icehashpassword deprecation warning with python debug (diff)
downloadice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.bz2
ice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.xz
ice-7d722e7eb41abd0147458c72285f6fea706c980e.zip
Fixes to allow run JavaScript and Python tests with workers
Diffstat (limited to 'python/test/Ice/blobject/Client.py')
-rwxr-xr-xpython/test/Ice/blobject/Client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/blobject/Client.py b/python/test/Ice/blobject/Client.py
index 64846c2702f..e6378f7aba7 100755
--- a/python/test/Ice/blobject/Client.py
+++ b/python/test/Ice/blobject/Client.py
@@ -24,7 +24,7 @@ def test(b):
class Client(TestHelper):
def allTests(self, communicator, sync):
- hello = Test.HelloPrx.checkedCast(communicator.stringToProxy("test:default -p 12010"))
+ hello = Test.HelloPrx.checkedCast(communicator.stringToProxy("test:{0}".format(self.getTestEndpoint())))
hello.sayHello(False)
hello.sayHello(False, {"_fwd": "o"})
test(hello.add(10, 20) == 30)
@@ -35,7 +35,7 @@ class Client(TestHelper):
pass
try:
- Test.HelloPrx.checkedCast(communicator.stringToProxy("unknown:default -p 12010 -t 10000"))
+ Test.HelloPrx.checkedCast(communicator.stringToProxy("unknown:{0} -t 10000".format(self.getTestEndpoint())))
test(False)
except Ice.ObjectNotExistException:
pass