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
/
ex07_hole1partition.py
diff --git
a/test/ex07_hole1partition.py
b/test/ex07_hole1partition.py
index 53da036ac85fa044c93ed1c1c7fb15d09333ba06..0620281131727f7defc81afe3edda3084529d6b9 100644
(file)
--- a/
test/ex07_hole1partition.py
+++ b/
test/ex07_hole1partition.py
@@
-104,7
+104,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------