Salome HOME
Check result of Compute() in test and examples
[modules/smesh.git] / test / ex06_hole1boolean.py
index 3bc2de2bd8c7494ca1a1ecf3f91a4622bde8a7c8..0450b65b8034e5a607f24bd00c2d87c0a6fb6eda 100644 (file)
@@ -164,7 +164,9 @@ algo4.Propagation()
 # Mesh calculus
 # -------------
 
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+    raise Exception("Error when computing Mesh")
 
 # Update object browser
 # ---------------------