From c45a4d5297ceac204309da141158e8b3b145e631 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 4 Aug 2017 14:04:57 +0300 Subject: [PATCH] Fix test case SketchPlugin/Test/Test2239.py --- src/SketchPlugin/Test/Test2239.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SketchPlugin/Test/Test2239.py b/src/SketchPlugin/Test/Test2239.py index 71e5ceac6..30827d0a4 100644 --- a/src/SketchPlugin/Test/Test2239.py +++ b/src/SketchPlugin/Test/Test2239.py @@ -56,6 +56,8 @@ SketchMultiTranslation_1_objects = [SketchLine_1.result(), SketchLine_2.result() SketchMultiTranslation_1 = Sketch_1.addTranslation(SketchMultiTranslation_1_objects, SketchLine_1.endPoint(), SketchLine_5.endPoint(), "N") model.do() +from GeomAPI import GeomAPI_Shape + model.testNbResults(Sketch_1, 1) model.testNbSubShapes(Sketch_1, GeomAPI_Shape.EDGE, [20]) model.testNbSubShapes(Sketch_1, GeomAPI_Shape.VERTEX, [40]) @@ -85,3 +87,6 @@ model.testNbSubShapes(Sketch_1, GeomAPI_Shape.EDGE, [20]) model.testNbSubShapes(Sketch_1, GeomAPI_Shape.VERTEX, [40]) model.end() + + +assert(model.checkPythonDump()) -- 2.39.2