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
/
ex12_grid17partition.py
diff --git
a/test/ex12_grid17partition.py
b/test/ex12_grid17partition.py
index 3d4b67b66ca2b08a0712b369ac82adb77153252e..fb940d59bfe3fd2ed9fc0b5528452f2cbad4314d 100644
(file)
--- a/
test/ex12_grid17partition.py
+++ b/
test/ex12_grid17partition.py
@@
-143,7
+143,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
t3= time.time()