summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/Twoways.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/Twoways.py')
-rw-r--r--python/test/Ice/operations/Twoways.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/test/Ice/operations/Twoways.py b/python/test/Ice/operations/Twoways.py
index a441ee9ef6a..5eb179f33e9 100644
--- a/python/test/Ice/operations/Twoways.py
+++ b/python/test/Ice/operations/Twoways.py
@@ -14,8 +14,9 @@ def test(b):
if not b:
raise RuntimeError('test assertion failed')
-def twoways(communicator, p):
+def twoways(helper, p):
+ communicator = helper.communicator()
literals = p.opStringLiterals()
test(Test.s0 == "\\")
@@ -1341,7 +1342,7 @@ def twoways(communicator, p):
ctx = {'one': 'ONE', 'two': 'TWO', 'three': 'THREE'}
- p1 = Test.MyClassPrx.uncheckedCast(ic.stringToProxy('test:default -p 12010'))
+ p1 = Test.MyClassPrx.uncheckedCast(ic.stringToProxy('test:{0}'.format(helper.getTestEndpoint())))
ic.getImplicitContext().setContext(ctx)
test(ic.getImplicitContext().getContext() == ctx)