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
/
ex17_dome1.py
diff --git
a/test/ex17_dome1.py
b/test/ex17_dome1.py
index b45076fb4ef162a6203fd690ffd1a4560110ceed..5409e5a25276b182089c40fe328bb44876d01e5b 100644
(file)
--- a/
test/ex17_dome1.py
+++ b/
test/ex17_dome1.py
@@
-103,7
+103,10
@@
hexa.Hexahedron()
# Calcul du maillage
# ------------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
+
# Update object browser
# ---------------------