]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Disabled test case for pipe with bi-normal
authordbv <dbv@opencascade.com>
Tue, 21 Jun 2016 12:27:39 +0000 (15:27 +0300)
committerdbv <dbv@opencascade.com>
Tue, 21 Jun 2016 12:27:39 +0000 (15:27 +0300)
src/FeaturesPlugin/Test/TestPipe.py

index 8ce9404f126ac9df389b12739fed870ce53cfb5d..811ee33a46ccdd9998afaec6a833d00a0bae33af 100644 (file)
@@ -100,23 +100,23 @@ aSession.finishOperation()
 
 # Test results
 assert (len(aPipeFeature.results()) > 0)
-aSession.undo()
-
-# Create pipe with bi-normal
-aSession.startOperation()
-aPipeFeature = aPart.addFeature("Pipe")
-aBaseObjectsList = aPipeFeature.selectionList("base_objects")
-aBaseObjectsList.append(aFaceResult1, None)
-aPathObjectSelection = aPipeFeature.selection("path_object")
-aPathObjectSelection.setValue(aWireResult, None)
-aPipeFeature.string("creation_method").setValue("binormal")
-aBinormalObjectSelection = aPipeFeature.selection("binormal")
-aShapeExplorer = GeomAPI_ShapeExplorer(aSketchShape, GeomAPI_Shape.EDGE)
-aBinormalObjectSelection.setValue(aSketchResult, aShapeExplorer.current())
-aSession.finishOperation()
-
-# Test results
-assert (len(aPipeFeature.results()) > 0)
+aSession.undo()
+#
+# Create pipe with bi-normal
+aSession.startOperation()
+aPipeFeature = aPart.addFeature("Pipe")
+aBaseObjectsList = aPipeFeature.selectionList("base_objects")
+aBaseObjectsList.append(aFaceResult1, None)
+aPathObjectSelection = aPipeFeature.selection("path_object")
+aPathObjectSelection.setValue(aWireResult, None)
+aPipeFeature.string("creation_method").setValue("binormal")
+aBinormalObjectSelection = aPipeFeature.selection("binormal")
+aShapeExplorer = GeomAPI_ShapeExplorer(aSketchShape, GeomAPI_Shape.EDGE)
+aBinormalObjectSelection.setValue(aSketchResult, aShapeExplorer.current())
+aSession.finishOperation()
+#
+# Test results
+assert (len(aPipeFeature.results()) > 0)
 # aSession.undo()
 #
 # # Create pipe with locations