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
/
TestPrimitivesBox.py
diff --git
a/src/PythonAPI/Test/TestPrimitivesBox.py
b/src/PythonAPI/Test/TestPrimitivesBox.py
index c679406702821bcb9f5a0d08225a38130512a3d0..81dfe1445867a2554da3107d7042a4d556a4bece 100644
(file)
--- a/
src/PythonAPI/Test/TestPrimitivesBox.py
+++ b/
src/PythonAPI/Test/TestPrimitivesBox.py
@@
-60,4
+60,5
@@
class PrimitivesAddBoxTestCase(PrimitivesAddBox):
self.assertEqual(box.secondPoint().context().shape().isVertex(),True)
if __name__ == "__main__":
- unittest.main(exit=False)
+ test_program = unittest.main(exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"