Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e20a4ec
)
Issue #2044: Error detection in the parametric API
author
dbv
<dbv@opencascade.com>
Wed, 29 Mar 2017 14:19:34 +0000
(17:19 +0300)
committer
dbv
<dbv@opencascade.com>
Wed, 29 Mar 2017 14:19:34 +0000
(17:19 +0300)
Test fix.
src/PythonAPI/Test/Test2044.py
patch
|
blob
|
history
diff --git
a/src/PythonAPI/Test/Test2044.py
b/src/PythonAPI/Test/Test2044.py
index 1d8442da429d978bbec4bf85be81e1053a4444fe..437b907a5d4fc1854b56c1886bd96d310b072e3e 100644
(file)
--- a/
src/PythonAPI/Test/Test2044.py
+++ b/
src/PythonAPI/Test/Test2044.py
@@
-18,5
+18,6
@@
Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/
model.do()
Extrusion_1.setDirection(model.selection("EDGE", "OX"))
model.do()
-print Extrusion_1.feature().error()
model.end()
+
+assert (len(Extrusion_1.feature().error()) != 0)