Salome HOME
Tests update
[modules/shaper.git] / src / FeaturesPlugin / Test / TestRevolutionCut.py
index 8229b15b45eb0b9b581f72434cf5dbdd029176d1..bbbdd2123edf25f8f5139116d34cca812f14a68b 100644 (file)
@@ -149,6 +149,7 @@ aCircleRadius = aSketchCircle.real("CircleRadius")
 anCircleCentr.setValue(0, 0)
 aCircleRadius.setValue(10)
 aSession.finishOperation()
+aSession.startOperation()
 anRevolutionCutFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)
 anRevolutionCutFt.string("CreationMethod").setValue("ByAngles")
 anRevolutionCutFt.real("to_angle").setValue(50)
@@ -158,6 +159,7 @@ anRevolutionCutFt.real("from_offset").setValue(0) #TODO: remove
 anRevolutionCutFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
 anRevolutionCutFt.execute()
 aSession.finishOperation()
+aSession.finishOperation()
 
 #=========================================================================
 # Test results