Redfish Network robot codes with latest directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: Ibe1bbbd4603c0e8348fa0408132e41a165ae0154
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_bmc_protocol_settings.robot b/redfish/managers/test_bmc_protocol_settings.robot
index da44021..85003c7 100644
--- a/redfish/managers/test_bmc_protocol_settings.robot
+++ b/redfish/managers/test_bmc_protocol_settings.robot
@@ -260,8 +260,9 @@
# Wait for timeout for new values to take effect.
Sleep ${SETTING_WAIT_TIMEOUT}
- Run Keyword if ${persistency_check} == ${True}
- ... Redfish OBMC Reboot (off) stack_mode=skip
+ IF ${persistency_check} == ${True}
+ Redfish OBMC Reboot (off) stack_mode=skip
+ END
Verify Protocol State ${ssh_state} ${ipmi_state}