Salome HOME
Fix the problem of the sketch plane update
[modules/shaper.git] / src / PythonAPI / Test / TestSketcherSetCoincident.py
index 4ceda389494adada7b1292fae84a67e269694fa4..b5f6131708c8cbef3617b7ee2d2b5100d4e01a2e 100644 (file)
@@ -40,4 +40,5 @@ class SketcherSetCoincident(SketcherTestCase):
             self.sketch.setCoincident(l1.endPoint())
 
 if __name__ == "__main__":
-    unittest.main(verbosity=2, exit=False)
\ 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