X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Frobot%2Fresources%2Fappmgr%2Fnegative_appmgr_tests.robot;fp=ric_robot_suite%2Frobot%2Fresources%2Fappmgr%2Fnegative_appmgr_tests.robot;h=c0a3de323919407626a8f63307328bda5d34f413;hb=fb793dbf21da9874a5f26dfce45c4a08f4b02889;hp=4f82d5cd31b90344e2b4a705df7a7f7ad452818d;hpb=99115439fd9976bd251f98ed21171c6f38ff2b05;p=it%2Ftest.git diff --git a/ric_robot_suite/robot/resources/appmgr/negative_appmgr_tests.robot b/ric_robot_suite/robot/resources/appmgr/negative_appmgr_tests.robot index 4f82d5c..c0a3de3 100644 --- a/ric_robot_suite/robot/resources/appmgr/negative_appmgr_tests.robot +++ b/ric_robot_suite/robot/resources/appmgr/negative_appmgr_tests.robot @@ -12,9 +12,9 @@ Deploy Duplicate XApp And Expect Error [Documentation] Ensure AppMgr produces an appropriate error when an already-running XApp is deployed @{d} = Get Deployed XApps Should Not Be Empty ${d} No XApps currently deployed - @{names} = Pluck Name ${d} + @{names} = Pluck name ${d} ${xapp} = Evaluate random.choice(${names}) random - ${status} = Run Keyword And Ignore Error Deploy XApp ${xapp} + ${status} ${u} = Run Keyword And Ignore Error Deploy XApp ${xapp} Should Be Equal As Strings ${status} FAIL Undeploy Nondeployed XApp And Expect Error @@ -22,8 +22,9 @@ Undeploy Nondeployed XApp And Expect Error @{d} = Get Deployed XApps @{a} = Get Deployable XApps Should Not Be Empty ${a} No XApps available to deploy - @{dNames} = Pluck Name ${d} + @{dNames} = Pluck name ${d} @{a} = Subtract From List ${a} ${dNames} + Should Not Be Empty ${a} No undeployed XApps ${xapp} = Evaluate random.choice(${a}) random ${status} ${u} = Run Keyword And Ignore Error Undeploy XApp ${xapp} Should Be Equal As Strings ${status} FAIL