From: Clarisse Genrault Date: Thu, 9 Mar 2017 08:17:42 +0000 (+0100) Subject: Fix bug on test of rotation. X-Git-Tag: V_2.7.0~248 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f52090533d090d5974fec139215ec3e4a67a9d7c;p=modules%2Fshaper.git Fix bug on test of rotation. --- diff --git a/src/FeaturesPlugin/Test/TestRotation.py b/src/FeaturesPlugin/Test/TestRotation.py index 3b50fa66c..175b08fdf 100644 --- a/src/FeaturesPlugin/Test/TestRotation.py +++ b/src/FeaturesPlugin/Test/TestRotation.py @@ -119,6 +119,7 @@ aRotateFt = aPart.addFeature("Rotation") assert (aRotateFt.getKind() == "Rotation") aRotateFt.selectionList("main_objects").append( anExtrusionResult, anExtrusionResult.shape()) +aRotateFt.string("CreationMethod").setValue("ByAxisAndAngle") aRotateFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge) aRotateFt.real("angle").setValue(90) aRotateFt.execute()