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
/
ex04_cube5tetraHexa.py
diff --git
a/test/ex04_cube5tetraHexa.py
b/test/ex04_cube5tetraHexa.py
index 9c6a0219b159348a1db66fb67d8939550dab3f54..145b952ae1b3397a6b19dd5ee916996e35b8dba8 100644
(file)
--- a/
test/ex04_cube5tetraHexa.py
+++ b/
test/ex04_cube5tetraHexa.py
@@
-112,7
+112,9
@@
localMesh(box_tetra2, 0)
# Mesh calculus
# -------------
-mixed.Compute()
+isDone = mixed.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------