X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Frobot%2Fresources%2Fappmgr%2Fappmgr_interface.robot;fp=ric_robot_suite%2Frobot%2Fresources%2Fappmgr%2Fappmgr_interface.robot;h=3f146041008e3309eee35307d9aaa77950f22093;hb=fb793dbf21da9874a5f26dfce45c4a08f4b02889;hp=b8b301e29195a5375ad7aa857209424bf3e862b6;hpb=99115439fd9976bd251f98ed21171c6f38ff2b05;p=it%2Ftest.git diff --git a/ric_robot_suite/robot/resources/appmgr/appmgr_interface.robot b/ric_robot_suite/robot/resources/appmgr/appmgr_interface.robot index b8b301e..3f14604 100644 --- a/ric_robot_suite/robot/resources/appmgr/appmgr_interface.robot +++ b/ric_robot_suite/robot/resources/appmgr/appmgr_interface.robot @@ -70,7 +70,7 @@ Undeploy XApps Deploy All Available XApps [Documentation] Attempt to deploy any not-currently-deployed XApp @{d} = Get Deployed XApps - @{deployed} = Pluck Name ${d} + @{deployed} = Pluck name ${d} @{available} = Get Deployable XApps @{toDeploy} = Subtract From List ${available} ${deployed} Deploy XApps @{toDeploy} @@ -78,7 +78,7 @@ Deploy All Available XApps Undeploy All Running XApps [Documentation] Undeploy any deployed XApps @{d} = Get Deployed XApps - @{deployed} = Pluck Name ${d} + @{deployed} = Pluck name ${d} Run Keyword If ${deployed} Undeploy XApps @{deployed} Run AppMgr GET Request @@ -110,7 +110,7 @@ Run AppMgr DELETE Request Pluck [Documentation] Get the values of a specific key from a list of dictionaries [Arguments] ${k} ${l} - @{names} = Evaluate filter(lambda v: v != None, [i.get(${k}, None) for i in ${l}]) + @{names} = Evaluate filter(lambda v: v != None, [i.get('${k}', None) for i in ${l}]) [Return] ${names} Subtract From List