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
/
ex11_grid3partition.py
diff --git
a/test/ex11_grid3partition.py
b/test/ex11_grid3partition.py
index 15775a8f1a1f177538a6b52f52a3bd16776300bb..4de0dfea472e78bead74d49316da20b688debcf1 100644
(file)
--- a/
test/ex11_grid3partition.py
+++ b/
test/ex11_grid3partition.py
@@
-123,7
+123,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------