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