summaryrefslogtreecommitdiff
path: root/python/test/Ice/slicing/exceptions/AllTests.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-11-08 23:39:40 +0100
committerJose <jose@zeroc.com>2018-11-08 23:39:40 +0100
commit48539e835c16c35195dcbd33783c44a656e92c2a (patch)
treec8328b3e9a210b2f2d6916384b0d17e861932d05 /python/test/Ice/slicing/exceptions/AllTests.py
parentAdd support for build IceGridGUI with Open JavaFX 11 packages (diff)
downloadice-48539e835c16c35195dcbd33783c44a656e92c2a.tar.bz2
ice-48539e835c16c35195dcbd33783c44a656e92c2a.tar.xz
ice-48539e835c16c35195dcbd33783c44a656e92c2a.zip
Do not use "false" in python tests
Close #270
Diffstat (limited to 'python/test/Ice/slicing/exceptions/AllTests.py')
-rw-r--r--python/test/Ice/slicing/exceptions/AllTests.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/python/test/Ice/slicing/exceptions/AllTests.py b/python/test/Ice/slicing/exceptions/AllTests.py
index 9dc2054c036..7c27999e99e 100644
--- a/python/test/Ice/slicing/exceptions/AllTests.py
+++ b/python/test/Ice/slicing/exceptions/AllTests.py
@@ -230,7 +230,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.baseAsBase()
- test(false)
+ test(False)
except Test.Base as b:
test(b.b == "Base.b")
test(b.ice_id() == "::Test::Base")
@@ -249,7 +249,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.unknownDerivedAsBase()
- test(false)
+ test(False)
except Test.Base as b:
test(b.b == "UnknownDerived.b")
test(b.ice_id() == "::Test::Base")
@@ -268,7 +268,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownDerivedAsBase()
- test(false)
+ test(False)
except Test.KnownDerived as k:
test(k.b == "KnownDerived.b")
test(k.kd == "KnownDerived.kd")
@@ -288,7 +288,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownDerivedAsKnownDerived()
- test(false)
+ test(False)
except Test.KnownDerived as k:
test(k.b == "KnownDerived.b")
test(k.kd == "KnownDerived.kd")
@@ -308,7 +308,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.unknownIntermediateAsBase()
- test(false)
+ test(False)
except Test.Base as b:
test(b.b == "UnknownIntermediate.b")
test(b.ice_id() == "::Test::Base")
@@ -327,7 +327,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownIntermediateAsBase()
- test(false)
+ test(False)
except Test.KnownIntermediate as ki:
test(ki.b == "KnownIntermediate.b")
test(ki.ki == "KnownIntermediate.ki")
@@ -347,7 +347,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownMostDerivedAsBase()
- test(false)
+ test(False)
except Test.KnownMostDerived as kmd:
test(kmd.b == "KnownMostDerived.b")
test(kmd.ki == "KnownMostDerived.ki")
@@ -368,7 +368,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownIntermediateAsKnownIntermediate()
- test(false)
+ test(False)
except Test.KnownIntermediate as ki:
test(ki.b == "KnownIntermediate.b")
test(ki.ki == "KnownIntermediate.ki")
@@ -388,7 +388,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownMostDerivedAsKnownIntermediate()
- test(false)
+ test(False)
except Test.KnownMostDerived as kmd:
test(kmd.b == "KnownMostDerived.b")
test(kmd.ki == "KnownMostDerived.ki")
@@ -409,7 +409,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.knownMostDerivedAsKnownMostDerived()
- test(false)
+ test(False)
except Test.KnownMostDerived as kmd:
test(kmd.b == "KnownMostDerived.b")
test(kmd.ki == "KnownMostDerived.ki")
@@ -430,7 +430,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.unknownMostDerived1AsBase()
- test(false)
+ test(False)
except Test.KnownIntermediate as ki:
test(ki.b == "UnknownMostDerived1.b")
test(ki.ki == "UnknownMostDerived1.ki")
@@ -450,7 +450,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.unknownMostDerived1AsKnownIntermediate()
- test(false)
+ test(False)
except Test.KnownIntermediate as ki:
test(ki.b == "UnknownMostDerived1.b")
test(ki.ki == "UnknownMostDerived1.ki")
@@ -471,7 +471,7 @@ def allTests(helper, communicator):
sys.stdout.flush()
try:
t.unknownMostDerived2AsBase()
- test(false)
+ test(False)
except Test.Base as b:
test(b.b == "UnknownMostDerived2.b")
test(b.ice_id() == "::Test::Base")