summaryrefslogtreecommitdiff
path: root/unitTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unitTests.py')
-rw-r--r--unitTests.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/unitTests.py b/unitTests.py
index 9a44193..baae01d 100644
--- a/unitTests.py
+++ b/unitTests.py
@@ -2346,7 +2346,7 @@ class WithAttributeParseActionTest(ParseTestCase):
<a B="x">3</a>
<a b="X">4</a>
<a b="y">5</a>
- <a class="boo">8</a>
+ <a class="boo">8</ a>
"""
tagStart, tagEnd = makeHTMLTags("a")
@@ -4308,7 +4308,9 @@ if __name__ == '__main__':
]
if not testclasses:
- testRunner.run(makeTestSuite())
+ result = testRunner.run(makeTestSuite())
else:
BUFFER_OUTPUT = False
- testRunner.run(makeTestSuiteTemp(testclasses))
+ result = testRunner.run(makeTestSuiteTemp(testclasses))
+
+ exit(0 if result.wasSuccessful() else 1)