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
/
ex08_hole2build.py
diff --git
a/test/ex08_hole2build.py
b/test/ex08_hole2build.py
index f9582e2278a7555474ce644f5fea5ffff2636e4f..81bb03a7ef0c32eaabf56d7e5aaf99e1f9656203 100644
(file)
--- 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
# ---------------------