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
/
SMESH_box.py
diff --git
a/test/SMESH_box.py
b/test/SMESH_box.py
index a681a7503a130071dad4bc32ac28278ac8dccc15..8b988656635601420ccdf4aea3567d057cbda30d 100644
(file)
--- a/
test/SMESH_box.py
+++ b/
test/SMESH_box.py
@@
-68,6
+68,8
@@
alg3D.SetName("algo3D")
# compute mesh
-box_mesh.Compute()
+isDone = box_mesh.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
sg.updateObjBrowser()