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_managers_bmc.robot b/redfish/managers/test_managers_bmc.robot
index d55f284..baa9227 100644
--- a/redfish/managers/test_managers_bmc.robot
+++ b/redfish/managers/test_managers_bmc.robot
@@ -220,6 +220,8 @@
Restore NTP Status
[Documentation] Restore NTP Status.
- Run Keyword If '${original_ntp["ProtocolEnabled"]}' == 'True'
- ... Set NTP state ${TRUE}
- ... ELSE Set NTP state ${FALSE}
+ IF '${original_ntp["ProtocolEnabled"]}' == 'True'
+ Set NTP state ${TRUE}
+ ELSE
+ Set NTP state ${FALSE}
+ END