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
/
TestSketcherAddArc.py
diff --git
a/src/PythonAPI/Test/TestSketcherAddArc.py
b/src/PythonAPI/Test/TestSketcherAddArc.py
index 1c3d2278f5c1c82ea14cd7550e66fbadc5b78d3c..7ea8f262de9970a7c23c5818fb3fc7bdd6cc6366 100644
(file)
--- a/
src/PythonAPI/Test/TestSketcherAddArc.py
+++ b/
src/PythonAPI/Test/TestSketcherAddArc.py
@@
-55,4
+55,5
@@
class SketcherAddArc(SketcherTestCase):
if __name__ == "__main__":
- unittest.main(verbosity=2, exit=False)
+ test_program = unittest.main(verbosity=2, exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"