diff options
Diffstat (limited to 'py/test/Ice/objects/AllTests.py')
-rw-r--r-- | py/test/Ice/objects/AllTests.py | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/py/test/Ice/objects/AllTests.py b/py/test/Ice/objects/AllTests.py index 73ca803f4fe..f98620ce6a5 100644 --- a/py/test/Ice/objects/AllTests.py +++ b/py/test/Ice/objects/AllTests.py @@ -133,24 +133,24 @@ def allTests(communicator, collocated): print "ok" if not collocated: - print "testing UnexpectedObjectException... " - ref = "uoet:default -p 12010 -t 10000" - base = communicator.stringToProxy(ref) - test(base) - uoet = Test.UnexpectedObjectExceptionTestPrx.uncheckedCast(base) - test(uoet) - try: - uoet.op() - test(False) - except Ice.UnexpectedObjectException, ex: - test(ex.type == "::Test::AlsoEmpty") - test(ex.expectedType == "::Test::Empty") - except Ice.Exception, ex: - print ex - test(False) - except: - print sys.exc_info() - test(False) - print "ok" + print "testing UnexpectedObjectException... " + ref = "uoet:default -p 12010 -t 10000" + base = communicator.stringToProxy(ref) + test(base) + uoet = Test.UnexpectedObjectExceptionTestPrx.uncheckedCast(base) + test(uoet) + try: + uoet.op() + test(False) + except Ice.UnexpectedObjectException, ex: + test(ex.type == "::Test::AlsoEmpty") + test(ex.expectedType == "::Test::Empty") + except Ice.Exception, ex: + print ex + test(False) + except: + print sys.exc_info() + test(False) + print "ok" return initial |