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/ipmi_client.robot b/lib/ipmi_client.robot
index 783198f..e2759c2 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -315,7 +315,7 @@
... AND Return From Keyword
OperatingSystem.File Should Exist tools/ipmitool msg=${ipmitool_error}
- Import Library SCPLibrary WITH NAME scp
+ Import Library SCPLibrary AS scp
scp.Open connection ${OPENBMC_HOST} username=${OPENBMC_USERNAME} password=${OPENBMC_PASSWORD}
scp.Put File tools/ipmitool /tmp
SSHLibrary.Open Connection ${OPENBMC_HOST}