Fix basic01 to check properly if VIM_ACCOUNT_TYPE is Openstack 58/15258/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 25 Jun 2025 15:27:04 +0000 (17:27 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 26 Jun 2025 06:51:24 +0000 (08:51 +0200)
Change-Id: I98050d571ebe30bade42269d0e18285968116cbf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
robot-systest/testsuite/basic_01-crud_operations_on_vim_targets.robot

index cbccf77..ce4652c 100644 (file)
@@ -21,7 +21,7 @@ Resource   ../lib/prometheus_lib.resource
 
 Variables   ../resources/basic_01-crud_operations_on_vim_targets_data.py
 
-Test Tags   basic_01   cluster_main   daily   regression
+Test Tags   basic_01   cluster_main   daily   regression   sanity
 
 Suite Setup   Run Keyword And Ignore Error   Suite Preparation
 
@@ -30,7 +30,7 @@ Suite Setup   Run Keyword And Ignore Error   Suite Preparation
 Create VIM Target Basic
     [Documentation]   Create a VIM Target only with the mandatory parameters.
     ...               Checks the status of the VIM in Prometheus after it creation.
-    Pass Execution If   ${VIM_ACCOUNT_TYPE} != 'openstack'   Not applicable for ${VIM_ACCOUNT_TYPE} VIM
+    Pass Execution If   '${VIM_ACCOUNT_TYPE}' != 'openstack'   Not applicable for ${VIM_ACCOUNT_TYPE} VIM
     ${rand}=   Generate Random String   6   [NUMBERS]
     ${VIM_NAME}=   Catenate   SEPARATOR=_   ${vim_name_prefix}   ${rand}
     Set Suite Variable   ${VIM_NAME}
@@ -44,7 +44,7 @@ Delete VIM Target By Name
     [Documentation]   Delete the VIM Target created in previous test-case by its name.
     ...               Checks whether the VIM Target was created or not before perform the deletion.
     [Tags]   cleanup
-    Pass Execution If   ${VIM_ACCOUNT_TYPE} != 'openstack'   Not applicable for ${VIM_ACCOUNT_TYPE} VIM
+    Pass Execution If   '${VIM_ACCOUNT_TYPE}' != 'openstack'   Not applicable for ${VIM_ACCOUNT_TYPE} VIM
     ${vim_account_id}=   Get VIM Target ID   ${VIM_NAME}
     Should Be Equal As Strings   ${vim_account_id}   ${CREATED_VIM_ACCOUNT_ID}
     Delete VIM Target   ${VIM_NAME}