Correct code syntax and fix missing directives
Changes:
- Fix test suites for "Multiple keywords with name" and
"No keyword with name" errors
Tested:
- NA
Change-Id: I07a828f19e85a5ca82a899fa63b7d3e450e9b00b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/openpower/service_account/test_service_login.robot b/openpower/service_account/test_service_login.robot
index 792c1b9..b366cf0 100644
--- a/openpower/service_account/test_service_login.robot
+++ b/openpower/service_account/test_service_login.robot
@@ -55,7 +55,7 @@
Verify Service Login Failure With Expired ACF
[Documentation] Verify service user login failure with expired ACF.
[Tags] Verify_Service_Login_Failure_With_Expired_ACF
- [Setup] Valid Value EXPIRED_SERVICE_FILE_PATH
+ [Setup] Valid Value EXPIRED_SERVICE_FILE_PATH
Remove Existing ACF
Open Connection for SCP
@@ -78,7 +78,7 @@
Verify SSH Login Access With Service User
[Documentation] Verify SSH login access with service user.
[Tags] Verify_SSH_Login_Access_With_Service_User
- [Setup] Remove Existing ACF AND Upload Valid ACF
+ [Setup] Run keywords Remove Existing ACF AND Upload Valid ACF
# Attempt SSH login with service user.
SSHLibrary.Open Connection ${OPENBMC_HOST}
@@ -89,7 +89,7 @@
Verify SSH Login Failure With Incorrect Service User Password
[Documentation] Verify SSH login failure with incorrect service user password.
[Tags] Verify_SSH_Login_Failure_With_Incorrect_Service_User_Password
- [Setup] Remove Existing ACF AND Upload Valid ACF
+ [Setup] Run keywords Remove Existing ACF AND Upload Valid ACF
# Attempt SSH login with service user.
SSHLibrary.Open Connection ${OPENBMC_HOST}
diff --git a/openpower/test_nmi_interface.robot b/openpower/test_nmi_interface.robot
index 482c528..8adf6e2 100644
--- a/openpower/test_nmi_interface.robot
+++ b/openpower/test_nmi_interface.robot
@@ -59,7 +59,7 @@
Redfish Power On
# Delete any pre-existing dump files.
OS Execute Command rm -rf /var/crash/*
- ${os_release_info}= Get OS Release Info
+ ${os_release_info}= utils.Get OS Release Info
# Start crash dump utility on OS.
${cmd}= Set Variable If
... '${os_release_info['id']}' == 'ubuntu' kdump-config show kdumpctl start