diff options
Diffstat (limited to 'py/test/Ice/exceptions/AllTests.py')
-rw-r--r-- | py/test/Ice/exceptions/AllTests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/py/test/Ice/exceptions/AllTests.py b/py/test/Ice/exceptions/AllTests.py index c3ae7cd7487..d4947952ab5 100644 --- a/py/test/Ice/exceptions/AllTests.py +++ b/py/test/Ice/exceptions/AllTests.py @@ -295,14 +295,14 @@ def allTests(communicator): adapter.add(obj, communicator.stringToIdentity("x")) try: adapter.add(obj, communicator.stringToIdentity("x")) - test(false) + test(false) except Ice.AlreadyRegisteredException: pass adapter.remove(communicator.stringToIdentity("x")) try: adapter.remove(communicator.stringToIdentity("x")) - test(false) + test(false) except Ice.NotRegisteredException: pass @@ -316,7 +316,7 @@ def allTests(communicator): adapter.addServantLocator(loc, "x") try: adapter.addServantLocator(loc, "x") - test(false) + test(false) except Ice.AlreadyRegisteredException: pass @@ -328,7 +328,7 @@ def allTests(communicator): communicator.addObjectFactory(of, "x") try: communicator.addObjectFactory(of, "x") - test(false) + test(false) except Ice.AlreadyRegisteredException: pass print "ok" |