]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix test case SketchPlugin/Test/Test2239.py
authorazv <azv@opencascade.com>
Fri, 4 Aug 2017 11:04:57 +0000 (14:04 +0300)
committerazv <azv@opencascade.com>
Fri, 4 Aug 2017 11:04:57 +0000 (14:04 +0300)
src/SketchPlugin/Test/Test2239.py

index 71e5ceac616ba753ad5bd59a8d802f230472c3e3..30827d0a447cbe699c0b73964332a9ce8129d5d9 100644 (file)
@@ -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())