Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix tests using unittest (failed cases were not reported by ctest).
[modules/shaper.git]
/
src
/
PythonAPI
/
Test
/
TestFeatures.py
diff --git
a/src/PythonAPI/Test/TestFeatures.py
b/src/PythonAPI/Test/TestFeatures.py
index f70dc035584a1f8b3ce97076d01090a1f1bd8aab..8c30d92faa90147d6ae7888562c406d94560e502 100644
(file)
--- a/
src/PythonAPI/Test/TestFeatures.py
+++ b/
src/PythonAPI/Test/TestFeatures.py
@@
-111,4
+111,5
@@
class FeaturesTestCase(FeaturesFixture):
#-----------------------------------------------------------------------------
if __name__ == "__main__":
- unittest.main(exit=False)
+ test_program = unittest.main(exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"