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
/
ex01_cube2build.py
diff --git
a/test/ex01_cube2build.py
b/test/ex01_cube2build.py
index 44fe5a9d5cd116e43bdfc01fc06edd7dbc1ea818..033be24e2c5f61f8c63187b16631766fbf762a94 100644
(file)
--- a/
test/ex01_cube2build.py
+++ b/
test/ex01_cube2build.py
@@
-318,7
+318,9
@@
algo.Propagation()
# Compute the mesh
# ----------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------