Fix deprecrated Run Keyword If for systems
Changes:
- Run Keyword If is deprecated since
Robot Framework version 5.*, use IF and END or Inline IF
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I9bd9ba2706772fb288c62fa43016eaa343fc7324
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/openpower/ext_interfaces/test_client_identifier.robot b/openpower/ext_interfaces/test_client_identifier.robot
index 99c9924..7195fcd 100644
--- a/openpower/ext_interfaces/test_client_identifier.robot
+++ b/openpower/ext_interfaces/test_client_identifier.robot
@@ -100,11 +100,12 @@
${before_reboot_xauth_token}= Set Variable ${XAUTH_TOKEN}
- Run Keyword If '${reboot_flag}' == 'True'
- ... Run Keywords Redfish BMC Reset Operation AND
- ... Set Global Variable ${XAUTH_TOKEN} ${before_reboot_xauth_token} AND
- ... Is BMC Standby AND
- ... Verify A Session Created With ClientID ${client_ids} ${session_info}
+ IF '${reboot_flag}' == 'True'
+ Redfish BMC Reset Operation
+ Set Global Variable ${XAUTH_TOKEN} ${before_reboot_xauth_token}
+ Is BMC Standby
+ Verify A Session Created With ClientID ${client_ids} ${session_info}
+ END
Redfish Delete List Of Session ${session_info}