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 the problem of the sketch plane update
[modules/shaper.git]
/
src
/
PythonAPI
/
Test
/
TestSketcherSetCoincident.py
diff --git
a/src/PythonAPI/Test/TestSketcherSetCoincident.py
b/src/PythonAPI/Test/TestSketcherSetCoincident.py
index 1ebe0ce5b9d301d4bf6cef48ae84242cd4a60156..b5f6131708c8cbef3617b7ee2d2b5100d4e01a2e 100644
(file)
--- a/
src/PythonAPI/Test/TestSketcherSetCoincident.py
+++ b/
src/PythonAPI/Test/TestSketcherSetCoincident.py
@@
-40,4
+40,5
@@
class SketcherSetCoincident(SketcherTestCase):
self.sketch.setCoincident(l1.endPoint())
if __name__ == "__main__":
self.sketch.setCoincident(l1.endPoint())
if __name__ == "__main__":
- unittest.main(verbosity=2)
\ No newline at end of file
+ test_program = unittest.main(verbosity=2, exit=False)
+ assert test_program.result.wasSuccessful(), "Test failed"
\ No newline at end of file