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