Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check result of Compute() in test and examples
[modules/smesh.git]
/
test
/
ex13_hole1partial.py
diff --git
a/test/ex13_hole1partial.py
b/test/ex13_hole1partial.py
index 19361cea2c0c746364a03eaff4517cdc27d6e7d0..81efeea9dad3b6143544fc3544f6610f3d2aa474 100644
(file)
--- a/
test/ex13_hole1partial.py
+++ b/
test/ex13_hole1partial.py
@@
-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
# ---------------------