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
/
TestSketcherAddCircle.py
diff --git
a/src/PythonAPI/Test/TestSketcherAddCircle.py
b/src/PythonAPI/Test/TestSketcherAddCircle.py
index 13ac042022733652ed66d2b898ebd41a46a258e9..b1af039f0f57069612688123f00481be35d91d3a 100644
(file)
--- a/
src/PythonAPI/Test/TestSketcherAddCircle.py
+++ b/
src/PythonAPI/Test/TestSketcherAddCircle.py
@@
-42,4
+42,5
@@
class SketcherAddCircle(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"