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
/
ex16_cyl2complementary.py
diff --git
a/test/ex16_cyl2complementary.py
b/test/ex16_cyl2complementary.py
index 341712dc1c3aa384e73e377c06be06fb0fbe9bd4..230fd30faf939f86c22f35f4770f8f780b926e4f 100644
(file)
--- a/
test/ex16_cyl2complementary.py
+++ b/
test/ex16_cyl2complementary.py
@@
-144,7
+144,9
@@
local(gx+g_dx, gy-g_dy, gz , 21)
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------