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
/
ex05_hole1build.py
diff --git
a/test/ex05_hole1build.py
b/test/ex05_hole1build.py
index 8b577eb93267b247b117a7ecc6f14ba2b2fdf954..3a740f29f01e66ce214399c15052aae21d8d748d 100644
(file)
--- a/
test/ex05_hole1build.py
+++ b/
test/ex05_hole1build.py
@@
-147,7
+147,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------