Run account lock test case with root login
Change-Id: I0a1d50ad1bea9b90b2ee6dfb26f2c46356ced86a
Signed-off-by: Sandhya Somashekar <sansomas@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index 427f4ec..4b03ba9 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -169,6 +169,10 @@
Redfish Create User admin_user TestPwd123 Administrator ${True}
+ Redfish.Logout
+
+ Redfish.Login
+
${payload}= Create Dictionary AccountLockoutThreshold=${account_lockout_threshold}
... AccountLockoutDuration=${account_lockout_duration}
Redfish.Patch ${REDFISH_ACCOUNTS_SERVICE_URI} body=${payload}