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/connection_client.robot b/lib/connection_client.robot
index 543879d..97247db 100755
--- a/lib/connection_client.robot
+++ b/lib/connection_client.robot
@@ -55,7 +55,7 @@
Open Connection for SCP
[Documentation] Open a connection for SCP.
- Import Library SCPLibrary WITH NAME scp
+ Import Library SCPLibrary AS scp
Run Keyword If '${SSH_PORT}' == '${EMPTY}' scp.Open connection ${OPENBMC_HOST}
... username=${OPENBMC_USERNAME} password=${OPENBMC_PASSWORD}
... ELSE Run Keyword scp.Open connection ${OPENBMC_HOST} port=${SSH_PORT}