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
/
ex03_cube2partition.py
diff --git
a/test/ex03_cube2partition.py
b/test/ex03_cube2partition.py
index 109644f7a349086b9819187d6214d499e294e79d..eb89f55749abfb3e22c21fac58ee613f51285bd5 100644
(file)
--- a/
test/ex03_cube2partition.py
+++ b/
test/ex03_cube2partition.py
@@
-107,7
+107,9
@@
hexa.Hexahedron()
# Compute the mesh
# ----------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------