1*** Settings ***
2Documentation    Test Redfish user account.
3
4Resource         ../../lib/resource.robot
5Resource         ../../lib/bmc_redfish_resource.robot
6Resource         ../../lib/openbmc_ffdc.robot
7
8Test Setup       Test Setup Execution
9Test Teardown    Test Teardown Execution
10
11
12** Test Cases **
13
14Verify AccountService Available
15    [Documentation]  Verify Redfish AccountService is available.
16    [Tags]  Verify_AccountService_Available
17
18    ${resp} =  redfish_utils.Get Attribute  /redfish/v1/AccountService  ServiceEnabled
19    Should Be Equal As Strings  ${resp}  ${True}
20
21
22*** Keywords ***
23
24Test Setup Execution
25    [Documentation]  Do test case setup tasks.
26
27    redfish.Login
28
29
30Test Teardown Execution
31    [Documentation]  Do the post test teardown.
32
33    FFDC On Test Case Fail
34    redfish.Logout
35