]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2044: Error detection in the parametric API
authordbv <dbv@opencascade.com>
Wed, 29 Mar 2017 14:19:34 +0000 (17:19 +0300)
committerdbv <dbv@opencascade.com>
Wed, 29 Mar 2017 14:19:34 +0000 (17:19 +0300)
Test fix.

src/PythonAPI/Test/Test2044.py

index 1d8442da429d978bbec4bf85be81e1053a4444fe..437b907a5d4fc1854b56c1886bd96d310b072e3e 100644 (file)
@@ -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)