X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2Fex08_hole2build.py;fp=test%2Fex08_hole2build.py;h=81bb03a7ef0c32eaabf56d7e5aaf99e1f9656203;hp=f9582e2278a7555474ce644f5fea5ffff2636e4f;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/test/ex08_hole2build.py b/test/ex08_hole2build.py index f9582e227..81bb03a7e 100644 --- a/test/ex08_hole2build.py +++ b/test/ex08_hole2build.py @@ -137,7 +137,9 @@ hexa.Hexahedron() # Mesh calculus # ------------- -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Update object browser # ---------------------