diff options
author | Joe George <joe@zeroc.com> | 2016-07-19 11:08:30 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2016-07-19 11:10:01 -0400 |
commit | 59afc9f2a20d734b2b79bf51ea55e585704c5257 (patch) | |
tree | eb7eb62e5bc8e06472aabd9e4af7038f6fce7ef4 /python/test/Ice/servantLocator/TestI.py | |
parent | Allow java iceHome to be set (diff) | |
download | ice-59afc9f2a20d734b2b79bf51ea55e585704c5257.tar.bz2 ice-59afc9f2a20d734b2b79bf51ea55e585704c5257.tar.xz ice-59afc9f2a20d734b2b79bf51ea55e585704c5257.zip |
ICE-7240 - Python Ice/servantLocator cross test
Diffstat (limited to 'python/test/Ice/servantLocator/TestI.py')
-rw-r--r-- | python/test/Ice/servantLocator/TestI.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/servantLocator/TestI.py b/python/test/Ice/servantLocator/TestI.py index 5e095ce54a4..b486be66982 100644 --- a/python/test/Ice/servantLocator/TestI.py +++ b/python/test/Ice/servantLocator/TestI.py @@ -85,12 +85,12 @@ class ServantLocatorI(Ice.ServantLocator): def __del__(self): test(self._deactivated) - + def locate(self, current): test(not self._deactivated) test(current.id.category == self._category or self._category == "") - + if current.id.name == "unknown": return None @@ -117,7 +117,7 @@ class ServantLocatorI(Ice.ServantLocator): test(current.id.category == self._category or self._category == "") test(current.id.name == "locate" or current.id.name == "finished") - + if current.id.name == "finished": self.exception(current) |