From fdc68b0819e92d6ae9bf1de9d591d0c8b46c1baf Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 29 Mar 2017 17:19:34 +0300 Subject: [PATCH] Issue #2044: Error detection in the parametric API Test fix. --- src/PythonAPI/Test/Test2044.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2