]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelHighAPI/Test/TestInteger.py
Salome HOME
Fix tests using unittest (failed cases were not reported by ctest).
[modules/shaper.git] / src / ModelHighAPI / Test / TestInteger.py
index 26ac7cf62b5488d9c8674a8bad518d840cc9dc8c..e27aea8def3643c95be9268e7721e51dc765f2d3 100644 (file)
@@ -35,4 +35,5 @@ class IntegerTestCase(unittest.TestCase):
 
 
 if __name__ == "__main__":
-    unittest.main(exit=False)
+    test_program = unittest.main(exit=False)
+    assert test_program.result.wasSuccessful(), "Test failed"