summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/TestI.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-11-13 15:52:14 -0500
committerBernard Normier <bernard@zeroc.com>2018-11-13 15:52:14 -0500
commita5854cfd05fa6aa5b7cc50ecbfcc9336fb32412c (patch)
tree58b9f74f2132985fe15913f1a7f65e82121b8eba /python/test/Ice/ami/TestI.py
parentFix failure related to Slice Scanner fixes (diff)
downloadice-a5854cfd05fa6aa5b7cc50ecbfcc9336fb32412c.tar.bz2
ice-a5854cfd05fa6aa5b7cc50ecbfcc9336fb32412c.tar.xz
ice-a5854cfd05fa6aa5b7cc50ecbfcc9336fb32412c.zip
More bidir tests. Fixes #51.
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):