]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/Test/TestSketcherSetVertical.py
Salome HOME
Fix tests using unittest (failed cases were not reported by ctest).
[modules/shaper.git] / src / PythonAPI / Test / TestSketcherSetVertical.py
index 76926b3dc63e78a5348dfbdd44e3b2bc20227019..d040e5a8cea6f648acfebd9bda37ab6226fc6c26 100644 (file)
@@ -30,4 +30,5 @@ class SketcherSetVertical(SketcherTestCase):
         self.assertEqual(line.startPoint().x(), line.endPoint().x())
 
 if __name__ == "__main__":
-    unittest.main(exit=False)
\ No newline at end of file
+    test_program = unittest.main(exit=False)
+    assert test_program.result.wasSuccessful(), "Test failed"
\ No newline at end of file