Fix in test_user_account.robot
Changes:
- Updated the expected error message
Tested:
- Ran and tested on BMC Environment
Change-Id: I55dee4e1e2bf05a58523431ef1077b8706e7ec5e
Signed-off-by: Vidya Kalasappanavar <Vidya.Kalasappanavar@ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 7943e81..5ba7843 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -272,10 +272,10 @@
# Make ${account_lockout_threshold} failed login attempts.
Repeat Keyword ${account_lockout_threshold} times
- ... Run Keyword And Expect Error InvalidCredentialsError* Redfish.Login admin_user abc123
+ ... Run Keyword And Expect Error *InvalidCredentialsError* Redfish.Login admin_user abcd1234
# Verify that legitimate login fails due to lockout.
- Run Keyword And Expect Error InvalidCredentialsError*
+ Run Keyword And Expect Error *InvalidCredentialsError*
... Redfish.Login admin_user TestPwd123
# Wait for lockout duration to expire and then verify that login works.