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
/
PAL_MESH_041_mesh.py
diff --git
a/test/PAL_MESH_041_mesh.py
b/test/PAL_MESH_041_mesh.py
index 48ad9342f33c64735ef6ef203f9d7b10221f8d19..9c486e840ab03187df2ba091d9651ab880125dcb 100644
(file)
--- a/
test/PAL_MESH_041_mesh.py
+++ b/
test/PAL_MESH_041_mesh.py
@@
-100,8
+100,11
@@
smesh.SetName(hypArea200, "Max. Element Area")
print("---------------------Compute the mesh")
-ret = mesh.Compute()
-print(ret)
+isDone = mesh.Compute()
+print(isDone)
+if not isDone:
+ raise Exception("Error when computing Mesh")
+
salome.sg.updateObjBrowser()