Fix operator and reboot account use cases
Error message in CT run:
Tags: Verify_Redfish_User_Persistence_After_Reboot
Message:
InvalidCredentialsError: 0
Change-Id: Ib43c7a3a3bf6e502bd481e4ea4090eecc94d4b5c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 4109154..ffc7dbb 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -79,6 +79,7 @@
# Reboot BMC.
Redfish OBMC Reboot (off) stack_mode=normal
+ Redfish.Login
# Verify users after reboot.
Redfish Verify User admin_user TestPwd123 Administrator ${True}
@@ -305,7 +306,7 @@
Redfish.Logout
# Login with created user.
- Run Keyword If ${enabled} == False
+ Run Keyword If ${enabled} == ${False}
... Run Keyword And Expect Error InvalidCredentialsError*
... Redfish.Login ${username} ${password}
... ELSE