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
/
TestMakeBrick2.py
diff --git
a/src/PythonAPI/Test/TestMakeBrick2.py
b/src/PythonAPI/Test/TestMakeBrick2.py
index cc681ff094d91ec4b8b50e75af75059482f7d57e..27f353d8ff6d28ee070ceb4d46f10e754fea6d58 100644
(file)
--- a/
src/PythonAPI/Test/TestMakeBrick2.py
+++ b/
src/PythonAPI/Test/TestMakeBrick2.py
@@
-23,4
+23,5
@@
import unittest
import salome.shaper.examples.MakeBrick2
if __name__ == "__main__":
- unittest.main(exit=False)
+ test_program = unittest.main(exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"