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_test2.py
diff --git
a/test/SMESH_test2.py
b/test/SMESH_test2.py
index 1bc3d99b68f99d43a0559d3dd720884f969c8824..55fde9e8e07864b3fe2c0385bea6a821a57499fd 100644
(file)
--- a/
test/SMESH_test2.py
+++ b/
test/SMESH_test2.py
@@
-31,6
+31,9
@@
from SMESH_test1 import *
print("-------------------------- compute box")
ret = mesh.Compute()
print(ret)
+if not ret:
+ raise Exception("Error when computing Mesh")
+
log = mesh.GetLog(0); # no erase trace
# for linelog in log:
# print(linelog)