]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #783: failed automatic test is corrected
authorasl <asl@opencascade.com>
Mon, 10 Aug 2015 12:19:04 +0000 (15:19 +0300)
committerasl <asl@opencascade.com>
Mon, 10 Aug 2015 12:41:48 +0000 (15:41 +0300)
src/FeaturesPlugin/Test/TestMovement.py

index 058efe4fc9ee4fc994661a55d9993d5d30217a9c..dd90e09ea0724a63f961530230a663f1264a5ada 100644 (file)
@@ -3,7 +3,7 @@
       Unit test of FeaturesPlugin_Movement class
 
       class FeaturesPlugin_Movement : public ModelAPI_Feature
-        static const std::string MY_MOVEMENT_ID("Movement");
+        static const std::string MY_MOVEMENT_ID("Translation");
         static const std::string MY_OBJECTS_LIST_ID("main_objects");
         static const std::string MY_AXIS_OBJECT_ID("axis_object");
         static const std::string MY_DISTANCE_ID("distance");
@@ -115,8 +115,8 @@ aLineEdge = aShapeExplorer.current()
 # Test movement
 #=========================================================================
 aSession.startOperation()
-aMoveFt = aPart.addFeature("Movement")
-assert (aMoveFt.getKind() == "Movement")
+aMoveFt = aPart.addFeature("Translation")
+assert (aMoveFt.getKind() == "Translation")
 aMoveFt.selectionList("main_objects").append(
     anExtrusionResult, anExtrusionResult.shape())
 aMoveFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)