Salome HOME
Fix for SubShapes test.
authordbv <dbv@opencascade.com>
Wed, 25 May 2016 07:07:00 +0000 (10:07 +0300)
committerdbv <dbv@opencascade.com>
Wed, 25 May 2016 07:07:25 +0000 (10:07 +0300)
src/BuildPlugin/Test/TestSubShapes.py

index 5f6874641d3619fcdf99baa9b6b39159e00fbfae..59668662c84ff151a26f3936770d550b03212f02 100644 (file)
@@ -115,7 +115,7 @@ aSession.startOperation()
 aSubShapesFeature = aPart.addFeature("SubShapes")
 aBaseShapeSelection = aSubShapesFeature.selection("base_shape")
 aBaseShapeSelection.setValue(aFaceResult, None)
-aSubShapesList = aSubShapesFeature.selectionList("sub_shapes")
+aSubShapesList = aSubShapesFeature.selectionList("subshapes")
 for aPoint in aPoints:
     aSubShapesList.append(aSketchResult, aPoint)
 aShapeExplorer = GeomAPI_ShapeExplorer(aSketchShape, GeomAPI_Shape.EDGE)