Added automation testcase to verify service user deletion
Verify Deleting Service User
Change-Id: I748f60ed3889406f50fc48a1fbc0ab87f58a0b79
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/service_account/test_service_user.robot b/openpower/service_account/test_service_user.robot
index ee43010..1eb53f7 100644
--- a/openpower/service_account/test_service_user.robot
+++ b/openpower/service_account/test_service_user.robot
@@ -45,12 +45,20 @@
Verify Renaming Service User
[Documentation] Verify error while renaming service user via Redfish.
+ [Tags] Verify_Renaming_Service_User
${payload}= Create Dictionary UserName=new_service
Redfish.Patch /redfish/v1/AccountService/Accounts/service body=&{payload}
... valid_status_codes=[${HTTP_BAD_REQUEST}]
+Verify Deleting Service User
+ [Documentation] Verify error while deleting service user via Redfish.
+ [Tags] Verify_Deleting_Service_User
+
+ Redfish.Delete /redfish/v1/AccountService/Accounts/service valid_status_codes=[${HTTP_BAD_REQUEST}]
+
+
*** Keywords ***
Suite Setup Execution