X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2FTest%2FTestSketcherSetCoincident.py;h=b5f6131708c8cbef3617b7ee2d2b5100d4e01a2e;hb=5a602b4b32487f2922fa28e60e40b14454a503a3;hp=1ebe0ce5b9d301d4bf6cef48ae84242cd4a60156;hpb=84f912d8ca079ae8f0a43826983e77acdfb68bf5;p=modules%2Fshaper.git diff --git a/src/PythonAPI/Test/TestSketcherSetCoincident.py b/src/PythonAPI/Test/TestSketcherSetCoincident.py index 1ebe0ce5b..b5f613170 100644 --- 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__": - 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