X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fex09_grid4build.py;fp=test%2Fex09_grid4build.py;h=f79919cbeede1125387df77518e54a011d74d4eb;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hp=1754c13d6457aa4cfcda55e7e2dc08cc4a7e7e6b;hpb=d1392dc0345fb940899baa1121b9230843e47346;p=modules%2Fsmesh.git diff --git a/test/ex09_grid4build.py b/test/ex09_grid4build.py index 1754c13d6..f79919cbe 100644 --- a/test/ex09_grid4build.py +++ b/test/ex09_grid4build.py @@ -140,7 +140,9 @@ hexa.Hexahedron() # Mesh calculus # ------------- -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Update object browser # ---------------------