summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/TestAMDI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/TestAMDI.py')
-rwxr-xr-xpython/test/Ice/operations/TestAMDI.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/python/test/Ice/operations/TestAMDI.py b/python/test/Ice/operations/TestAMDI.py
index 9e89185ece0..305b8e79faa 100755
--- a/python/test/Ice/operations/TestAMDI.py
+++ b/python/test/Ice/operations/TestAMDI.py
@@ -11,7 +11,7 @@ if not slice_dir:
sys.exit(1)
Ice.loadSlice("'-I" + slice_dir + "' Test.ice")
-import Test
+import Test, M
def test(b):
if not b:
@@ -27,6 +27,14 @@ class FutureThread(threading.Thread):
time.sleep(0.01)
self.future.set_result(self.result)
+
+class BI(M.BDisp):
+ def opB(self, current=None):
+ return Ice.Future.completed(())
+
+ def opIntf(self, current=None):
+ return Ice.Future.completed(())
+
class MyDerivedClassI(Test.MyDerivedClass):
def __init__(self):
self.threads = []