Redfish base user management test case
Added following test cases:
- Verify AccountService Available
Change-Id: I3fb6faef4a62f831d7af8e11a2fd8df684bcc976
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
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
new file mode 100644
index 0000000..cb5041b
--- /dev/null
+++ b/redfish/account_service/test_user_account.robot
@@ -0,0 +1,34 @@
+*** Settings ***
+Documentation Test Redfish user account.
+
+Resource ../../lib/resource.robot
+Resource ../../lib/bmc_redfish_resource.robot
+Resource ../../lib/openbmc_ffdc.robot
+
+Test Setup Test Setup Execution
+Test Teardown Test Teardown Execution
+
+
+** Test Cases **
+
+Verify AccountService Available
+ [Documentation] Verify Redfish AccountService is available.
+ [Tags] Verify_AccountService_Available
+
+ ${resp} = redfish_utils.Get Attribute /redfish/v1/AccountService ServiceEnabled
+ Should Be Equal As Strings ${resp} ${True}
+
+
+*** Keywords ***
+
+Test Setup Execution
+ [Documentation] Do test case setup tasks.
+
+ redfish.Login
+
+
+Test Teardown Execution
+ [Documentation] Do the post test teardown.
+
+ FFDC On Test Case Fail
+ redfish.Logout