blob: a81feb66ec8503a25be193c1b61a370bbcb9d206 [file] [log] [blame]
Sivas SRR6aa101f2019-02-19 22:31:55 -06001*** 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
Sivas SRRfa6831c2019-02-22 00:12:00 -060015 [Documentation] Verify Redfish account service is available.
Sivas SRR6aa101f2019-02-19 22:31:55 -060016 [Tags] Verify_AccountService_Available
17
George Keishing97c93942019-03-04 12:45:07 -060018 ${resp} = Redfish_utils.Get Attribute /redfish/v1/AccountService ServiceEnabled
Sivas SRR6aa101f2019-02-19 22:31:55 -060019 Should Be Equal As Strings ${resp} ${True}
20
21
22*** Keywords ***
23
24Test Setup Execution
25 [Documentation] Do test case setup tasks.
26
George Keishing97c93942019-03-04 12:45:07 -060027 Redfish.Login
Sivas SRR6aa101f2019-02-19 22:31:55 -060028
29
30Test Teardown Execution
31 [Documentation] Do the post test teardown.
32
33 FFDC On Test Case Fail
George Keishing97c93942019-03-04 12:45:07 -060034 Redfish.Logout