summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/ami/TestI.py')
-rw-r--r--python/test/Ice/ami/TestI.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/test/Ice/ami/TestI.py b/python/test/Ice/ami/TestI.py
index 757a9afa598..fe89da38c6f 100644
--- a/python/test/Ice/ami/TestI.py
+++ b/python/test/Ice/ami/TestI.py
@@ -86,8 +86,9 @@ class TestIntfI(Test.TestIntf):
def supportsFunctionalTests(self, current=None):
return False
- def pingBiDir(self, id, current = None):
- Test.PingReplyPrx.uncheckedCast(current.con.createProxy(id)).reply()
+ def pingBiDir(self, reply, current=None):
+ # TODO: verify correct thread with add_done_callback_async
+ reply.ice_fixed(current.con).replyAsync().result()
class TestIntfII(Test.Outer.Inner.TestIntf):
def op(self, i, current):