Added local user automation testcase
Verify Error While Deleting Root User
Change-Id: Ibcbc31568f0054f6dd28d88a76897b74cc433169
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/account_service/test_user_account.robot b/redfish/account_service/test_user_account.robot
index b77c10f..d18b541 100644
--- a/redfish/account_service/test_user_account.robot
+++ b/redfish/account_service/test_user_account.robot
@@ -330,6 +330,13 @@
List Should Contain Sub List ${resp.dict['AssignedPrivileges']} ${roles_dict['readOnly_privileges']}
+Verify Error While Deleting Root User
+ [Documentation] Verify error while deleting root user.
+ [Tags] Verify_Error_While_Deleting_Root_User
+
+ Redfish.Delete /redfish/v1/AccountService/Accounts/root valid_status_codes=[${HTTP_FORBIDDEN}]
+
+
*** Keywords ***
Test Teardown Execution