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
/
TestPythonAPI.py
diff --git
a/src/PythonAPI/Test/TestPythonAPI.py
b/src/PythonAPI/Test/TestPythonAPI.py
index fadc37be7c0be23832ea18db718c82457f9b16c2..4919ddcd397532244ecd76dfdbb3b286e6bf6e2f 100644
(file)
--- a/
src/PythonAPI/Test/TestPythonAPI.py
+++ b/
src/PythonAPI/Test/TestPythonAPI.py
@@
-23,4
+23,5
@@
from salome.shaper import model
from salome.shaper import geom
if __name__ == "__main__":
- unittest.main(exit=False)
+ test_program = unittest.main(exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"