Redfish extend 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: If4b31968d98722d74befef6149d2144d23cfa595
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/extended/test_bmc_dump.robot b/redfish/extended/test_bmc_dump.robot
index 7044303..694eeb8 100644
--- a/redfish/extended/test_bmc_dump.robot
+++ b/redfish/extended/test_bmc_dump.robot
@@ -83,9 +83,10 @@
[Documentation] Do initial suite setup tasks.
${resp}= OpenBMC Get Request ${DUMP_URI}
- Run Keyword If '${resp.status_code}' == '${HTTP_NOT_FOUND}'
- ... Run Keywords Set Suite Variable ${DUMP_URI} /xyz/openbmc_project/dump/ AND
- ... Set Suite Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
+ IF '${resp.status_code}' == '${HTTP_NOT_FOUND}'
+ Set Suite Variable ${DUMP_URI} /xyz/openbmc_project/dump/
+ Set Suite Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
+ END
Test Teardown Execution