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
/
ex19_sphereINcube.py
diff --git
a/test/ex19_sphereINcube.py
b/test/ex19_sphereINcube.py
index 91bb1155aed582756474f66ef20785f036f390b3..a393fab76449e6666a0fe6d6bfd91facaf74e5c6 100644
(file)
--- a/
test/ex19_sphereINcube.py
+++ b/
test/ex19_sphereINcube.py
@@
-180,7
+180,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Le groupe de mailles
# --------------------