Redfish 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: Ia060721b4bf780972b574cbfd6d7d4fbcfa12266
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa@ibm.com>
diff --git a/lib/bios_attr_utils.robot b/lib/bios_attr_utils.robot
index f9e68a0..4981566 100644
--- a/lib/bios_attr_utils.robot
+++ b/lib/bios_attr_utils.robot
@@ -46,7 +46,7 @@
Redfish.Patch ${BIOS_ATTR_SETTINGS_URI} body={"Attributes":{"${attr_handle}": ${value}}}
... valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
- Run Keyword If '${verify}' == '${True}' Verify BIOS Attribute ${attr_handle} ${attr_val}
+ IF '${verify}' == '${True}' Verify BIOS Attribute ${attr_handle} ${attr_val}
END