X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2Fex04_cube5tetraHexa.py;fp=test%2Fex04_cube5tetraHexa.py;h=145b952ae1b3397a6b19dd5ee916996e35b8dba8;hp=9c6a0219b159348a1db66fb67d8939550dab3f54;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/test/ex04_cube5tetraHexa.py b/test/ex04_cube5tetraHexa.py index 9c6a0219b..145b952ae 100644 --- a/test/ex04_cube5tetraHexa.py +++ b/test/ex04_cube5tetraHexa.py @@ -112,7 +112,9 @@ localMesh(box_tetra2, 0) # Mesh calculus # ------------- -mixed.Compute() +isDone = mixed.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Update object browser # ---------------------