robotframework deprecated syntax changes
Prior to Robot Framework 6.0 the marker to use
when giving a custom name to a library was WITH NAME
instead of AS. The old syntax continues to work,
but it is considered deprecated and will eventually
be removed.
Changes:
- Deprecated 'WITH NAME' alias marker
used instead of 'AS'
Tested:
- Ran from local sandbox with the changes.
Change-Id: I2118dc04d27e37e56e1f4d49892e1f98ac629721
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish_resource.robot b/lib/bmc_redfish_resource.robot
index 3fd13ac..3f222c5 100644
--- a/lib/bmc_redfish_resource.robot
+++ b/lib/bmc_redfish_resource.robot
@@ -4,8 +4,9 @@
Resource resource.robot
Resource rest_response_code.robot
Library bmc_redfish.py https://${OPENBMC_HOST}:${HTTPS_PORT} ${OPENBMC_USERNAME}
-... ${OPENBMC_PASSWORD} WITH NAME Redfish
-Library bmc_redfish_utils.py WITH NAME redfish_utils
+... ${OPENBMC_PASSWORD} AS Redfish
+Library bmc_redfish_utils.py AS redfish_utils
Library disable_warning_urllib.py
+
*** Keywords ***