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
/
ex06_hole1boolean.py
diff --git
a/test/ex06_hole1boolean.py
b/test/ex06_hole1boolean.py
index 3bc2de2bd8c7494ca1a1ecf3f91a4622bde8a7c8..0450b65b8034e5a607f24bd00c2d87c0a6fb6eda 100644
(file)
--- a/
test/ex06_hole1boolean.py
+++ b/
test/ex06_hole1boolean.py
@@
-164,7
+164,9
@@
algo4.Propagation()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------