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
/
ex15_cyl2geometry.py
diff --git
a/test/ex15_cyl2geometry.py
b/test/ex15_cyl2geometry.py
index 12953cfb281400ed7e9674db117d2740fb62f6de..6444b5debc4eeed3f6ac3485c91ff88d41aeeda4 100644
(file)
--- a/
test/ex15_cyl2geometry.py
+++ b/
test/ex15_cyl2geometry.py
@@
-200,7
+200,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------