From 194d0a94b233b1560ff907f83cadfe4a916187a2 Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 10 Aug 2015 15:19:04 +0300 Subject: [PATCH] Issue #783: failed automatic test is corrected --- src/FeaturesPlugin/Test/TestMovement.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.2