summaryrefslogtreecommitdiff
path: root/python/test/Ice/servantLocator/TestAMDI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/servantLocator/TestAMDI.py')
-rw-r--r--python/test/Ice/servantLocator/TestAMDI.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/test/Ice/servantLocator/TestAMDI.py b/python/test/Ice/servantLocator/TestAMDI.py
index 0fc254af645..dae02342251 100644
--- a/python/test/Ice/servantLocator/TestAMDI.py
+++ b/python/test/Ice/servantLocator/TestAMDI.py
@@ -101,6 +101,12 @@ class ServantLocatorI(Ice.ServantLocator):
if current.id.name == "unknown":
return None
+ if current.id.name == "invalidReturnValue":
+ return (45, 12)
+
+ if current.id.name == "invalidReturnType":
+ return "invalid"
+
test(current.id.name == "locate" or current.id.name == "finished")
if current.id.name == "locate":
self.exception(current)