summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/AllTests.py')
-rw-r--r--python/test/Ice/operations/AllTests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/test/Ice/operations/AllTests.py b/python/test/Ice/operations/AllTests.py
index 457dbceaf96..3f9decd88f2 100644
--- a/python/test/Ice/operations/AllTests.py
+++ b/python/test/Ice/operations/AllTests.py
@@ -2,7 +2,7 @@
# Copyright (c) ZeroC, Inc. All rights reserved.
#
-import Ice, Test, Twoways, TwowaysFuture, TwowaysAMI, Oneways, OnewaysFuture, OnewaysAMI, BatchOneways, sys
+import Ice, Test, M, Twoways, TwowaysFuture, TwowaysAMI, Oneways, OnewaysFuture, OnewaysAMI, BatchOneways, sys
import BatchOnewaysAMI, BatchOnewaysFuture
def test(b):
@@ -14,11 +14,12 @@ def allTests(helper, communicator):
base = communicator.stringToProxy(ref)
cl = Test.MyClassPrx.checkedCast(base)
derived = Test.MyDerivedClassPrx.checkedCast(cl)
+ bprx = M.BPrx.checkedCast(communicator.stringToProxy("b:{0}".format(helper.getTestEndpoint())))
sys.stdout.write("testing twoway operations... ")
sys.stdout.flush()
- Twoways.twoways(helper, cl)
- Twoways.twoways(helper, derived)
+ Twoways.twoways(helper, cl, bprx)
+ Twoways.twoways(helper, derived, bprx)
derived.opDerived()
print("ok")