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/redfish/managers/test_multiple_interfaces.robot b/redfish/managers/test_multiple_interfaces.robot
index eebcf2f..6643654 100644
--- a/redfish/managers/test_multiple_interfaces.robot
+++ b/redfish/managers/test_multiple_interfaces.robot
@@ -18,7 +18,7 @@
# User input BMC IP for the eth1.
# Use can input as -v OPENBMC_HOST_ETH1:xx.xxx.xx from command line.
Library ../../lib/bmc_redfish.py https://${OPENBMC_HOST_ETH1}:${HTTPS_PORT}
-... ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} WITH NAME Redfish1
+... ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} AS Redfish1
Suite Setup Suite Setup Execution
Test Setup Run Keywords Redfish.Login AND Redfish1.Login