From: asl Date: Mon, 10 Aug 2015 12:19:04 +0000 (+0300) Subject: Issue #783: failed automatic test is corrected X-Git-Tag: V_1.4.0_beta4~413 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=194d0a94b233b1560ff907f83cadfe4a916187a2;p=modules%2Fshaper.git Issue #783: failed automatic test is corrected --- diff --git a/src/FeaturesPlugin/Test/TestMovement.py b/src/FeaturesPlugin/Test/TestMovement.py index 058efe4fc..dd90e09ea 100644 --- a/src/FeaturesPlugin/Test/TestMovement.py +++ b/src/FeaturesPlugin/Test/TestMovement.py @@ -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)