diff options
author | Jose <jose@zeroc.com> | 2018-08-14 20:02:53 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-08-14 20:03:24 +0200 |
commit | 7d722e7eb41abd0147458c72285f6fea706c980e (patch) | |
tree | 3d7d1884d6fccfd8a44ab9dabb8d833813aee846 /python/test/Ice/operations/TwowaysAMI.py | |
parent | Fixed icehashpassword deprecation warning with python debug (diff) | |
download | ice-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/TwowaysAMI.py')
-rw-r--r-- | python/test/Ice/operations/TwowaysAMI.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/test/Ice/operations/TwowaysAMI.py b/python/test/Ice/operations/TwowaysAMI.py index 1c6de0274e5..6189d5255ff 100644 --- a/python/test/Ice/operations/TwowaysAMI.py +++ b/python/test/Ice/operations/TwowaysAMI.py @@ -751,7 +751,8 @@ class Callback(CallbackBase): def exCB(self, ex): test(False) -def twowaysAMI(communicator, p): +def twowaysAMI(helper, p): + communicator = helper.communicator() cb = Callback() p.begin_ice_ping(cb.ping, cb.exCB) cb.check() @@ -1128,7 +1129,7 @@ def twowaysAMI(communicator, p): ctx = {'one': 'ONE', 'two': 'TWO', 'three': 'THREE'} - p3 = Test.MyClassPrx.uncheckedCast(ic.stringToProxy("test:default -p 12010")) + p3 = Test.MyClassPrx.uncheckedCast(ic.stringToProxy("test:{0}".format(helper.getTestEndpoint()))) ic.getImplicitContext().setContext(ctx) test(ic.getImplicitContext().getContext() == ctx) |