X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Frobot%2Ftestsuites%2Fricdeployment.robot;fp=ric_robot_suite%2Frobot%2Ftestsuites%2Fricdeployment.robot;h=db952c2dbda509ef2f5087df06b1ea5907486dbc;hb=3d053f85cc9c42c57850780a18afb0eef425303c;hp=5bede0ad348437e089a89cb68dd3b48775f86a95;hpb=07d27778d0053beb672db05c58a8be00805c1567;p=it%2Ftest.git diff --git a/ric_robot_suite/robot/testsuites/ricdeployment.robot b/ric_robot_suite/robot/testsuites/ricdeployment.robot index 5bede0a..db952c2 100644 --- a/ric_robot_suite/robot/testsuites/ricdeployment.robot +++ b/ric_robot_suite/robot/testsuites/ricdeployment.robot @@ -16,7 +16,9 @@ *** Settings *** Documentation Tests for the existence and functionality of RIC components -Resource /robot/resources/global_properties.robot +Resource ../global_properties.robot + +Resource ../ric/ric_utils.robot Library KubernetesEntity ${GLOBAL_RICPLT_NAMESPACE} Library Collections @@ -30,13 +32,3 @@ Deployments \ ${deploy} = Deployment ${deploymentName} \ ${status} = Most Recent Availability Condition @{deploy.status.conditions} \ Should Be Equal As Strings ${status} True ignore_case=True msg=${Component} is not available - -*** Keywords *** -Most Recent Availability Condition - # this makes the probably-unsafe assumption that the conditions are ordered - # temporally. - [Arguments] @{Conditions} - ${status} = Set Variable 'False' - :FOR ${Condition} IN @{Conditions} - \ ${status} = Set Variable If '${Condition.type}' == 'Available' ${Condition.status} ${status} - [Return] ${status}