From: dbv Date: Tue, 21 Jun 2016 12:27:39 +0000 (+0300) Subject: Disabled test case for pipe with bi-normal X-Git-Tag: V_2.4.0~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb71a2ef72952672608855b85f554cba3e2bd16b;p=modules%2Fshaper.git Disabled test case for pipe with bi-normal --- diff --git a/src/FeaturesPlugin/Test/TestPipe.py b/src/FeaturesPlugin/Test/TestPipe.py index 8ce9404f1..811ee33a4 100644 --- a/src/FeaturesPlugin/Test/TestPipe.py +++ b/src/FeaturesPlugin/Test/TestPipe.py @@ -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