From: dbv Date: Wed, 29 Mar 2017 14:19:34 +0000 (+0300) Subject: Issue #2044: Error detection in the parametric API X-Git-Tag: V_2.7.0~142 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fdc68b0819e92d6ae9bf1de9d591d0c8b46c1baf;p=modules%2Fshaper.git Issue #2044: Error detection in the parametric API Test fix. --- diff --git a/src/PythonAPI/Test/Test2044.py b/src/PythonAPI/Test/Test2044.py index 1d8442da4..437b907a5 100644 --- 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)