From: azv Date: Fri, 4 Aug 2017 11:04:57 +0000 (+0300) Subject: Fix test case SketchPlugin/Test/Test2239.py X-Git-Tag: V_2.7.2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c45a4d5297ceac204309da141158e8b3b145e631;p=modules%2Fshaper.git Fix test case SketchPlugin/Test/Test2239.py --- 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())