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_network_protocol.robot b/redfish/managers/test_bmc_network_protocol.robot
index 49cedc1..e1e68ec 100644
--- a/redfish/managers/test_bmc_network_protocol.robot
+++ b/redfish/managers/test_bmc_network_protocol.robot
@@ -130,8 +130,8 @@
Get NTP Initial Status
${old_date_time}= CLI Get BMC DateTime
${year_status}= Run Keyword And Return Status Should Not Contain ${old_date_time} ${year_without_ntp}
- Run Keyword If ${year_status} == False
- ... Enable NTP And Add NTP Address
+
+ IF ${year_status} == False Enable NTP And Add NTP Address
Suite Teardown Execution
[Documentation] Do the suite level teardown.