]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/Test/TestMoveArc.py
Salome HOME
Fix tests using unittest (failed cases were not reported by ctest).
[modules/shaper.git] / src / SketchPlugin / Test / TestMoveArc.py
index e9f5f73b427c754e73aac05ae0de8a4f4c7a9dfe..ad78cc063528c99a5259ed148fe54ae8ee1e2b62 100644 (file)
@@ -345,5 +345,6 @@ class TestMoveArc(unittest.TestCase):
     self.checkPointCoordinates(self.myArc.endPoint(), self.myEnd)
 
 
-if __name__ == '__main__':
-  unittest.main(exit=False)
+if __name__ == "__main__":
+    test_program = unittest.main(exit=False)
+    assert test_program.result.wasSuccessful(), "Test failed"