]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/Test/TestSketcherSetParallel.py
Salome HOME
Fix tests using unittest (failed cases were not reported by ctest).
[modules/shaper.git] / src / PythonAPI / Test / TestSketcherSetParallel.py
index 99b78e150b943e554bab22c1e09874a59a8b48df..90fe226751c1851f2000fc99c22ac95f1ca64c5e 100644 (file)
@@ -30,4 +30,5 @@ class SketcherSetParallel(SketcherTestCase):
         model.do()
 
 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