X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2Fex18_dome2.py;fp=test%2Fex18_dome2.py;h=26837bfab0c4fd5adaf6be39f2a702d10c96ee39;hp=dc84ea8816dc6b4c94f1930d313e846e307fc10b;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/test/ex18_dome2.py b/test/ex18_dome2.py index dc84ea881..26837bfab 100644 --- a/test/ex18_dome2.py +++ b/test/ex18_dome2.py @@ -140,7 +140,9 @@ hexa.Hexahedron() # Calcul du maillage # ------------------ -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Update object browser # ---------------------