Salome HOME
Check result of Compute() in test and examples
[modules/smesh.git] / test / ex13_hole1partial.py
index 19361cea2c0c746364a03eaff4517cdc27d6e7d0..81efeea9dad3b6143544fc3544f6610f3d2aa474 100644 (file)
@@ -256,7 +256,9 @@ local(cyl_x+d, cyl_y+d, box_dz, 10)
 # Compute the mesh
 # ----------------
 
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+    raise Exception("Error when computing Mesh")
 
 # Update object browser
 # ---------------------