summaryrefslogtreecommitdiff
path: root/py/test/Ice/objects/AllTests.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
committerBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
commitabada90e3f84dc703b8ddc9efcbed8a946fadead (patch)
tree2c6f9dccd510ea97cb927a7bd635422efaae547a /py/test/Ice/objects/AllTests.py
parentremoving trace message (diff)
downloadice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip
Expanded tabs into spaces
Diffstat (limited to 'py/test/Ice/objects/AllTests.py')
-rw-r--r--py/test/Ice/objects/AllTests.py38
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