summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/AllTests.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/operations/AllTests.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/operations/AllTests.py')
-rw-r--r--python/test/Ice/operations/AllTests.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/python/test/Ice/operations/AllTests.py b/python/test/Ice/operations/AllTests.py
index b63362ff341..8be399def8e 100644
--- a/python/test/Ice/operations/AllTests.py
+++ b/python/test/Ice/operations/AllTests.py
@@ -16,40 +16,41 @@ def test(b):
def allTests(helper, communicator):
ref = "test:{0}".format(helper.getTestEndpoint())
+ print("Client endpoint: {}".format(ref))
base = communicator.stringToProxy(ref)
cl = Test.MyClassPrx.checkedCast(base)
derived = Test.MyDerivedClassPrx.checkedCast(cl)
sys.stdout.write("testing twoway operations... ")
sys.stdout.flush()
- Twoways.twoways(communicator, cl)
- Twoways.twoways(communicator, derived)
+ Twoways.twoways(helper, cl)
+ Twoways.twoways(helper, derived)
derived.opDerived()
print("ok")
sys.stdout.write("testing oneway operations... ")
sys.stdout.flush()
- Oneways.oneways(communicator, cl)
+ Oneways.oneways(helper, cl)
print("ok")
sys.stdout.write("testing twoway operations with futures... ")
sys.stdout.flush()
- TwowaysFuture.twowaysFuture(communicator, cl)
+ TwowaysFuture.twowaysFuture(helper, cl)
print("ok")
sys.stdout.write("testing twoway operations with AMI... ")
sys.stdout.flush()
- TwowaysAMI.twowaysAMI(communicator, cl)
+ TwowaysAMI.twowaysAMI(helper, cl)
print("ok")
sys.stdout.write("testing oneway operations with futures... ")
sys.stdout.flush()
- OnewaysFuture.onewaysFuture(communicator, cl)
+ OnewaysFuture.onewaysFuture(helper, cl)
print("ok")
sys.stdout.write("testing oneway operations with AMI... ")
sys.stdout.flush()
- OnewaysAMI.onewaysAMI(communicator, cl)
+ OnewaysAMI.onewaysAMI(helper, cl)
print("ok")
sys.stdout.write("testing batch oneway operations... ")