Sivas SRR | 6aa101f | 2019-02-19 22:31:55 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Test Redfish user account. |
| 3 | |
| 4 | Resource ../../lib/resource.robot |
| 5 | Resource ../../lib/bmc_redfish_resource.robot |
| 6 | Resource ../../lib/openbmc_ffdc.robot |
| 7 | |
| 8 | Test Setup Test Setup Execution |
| 9 | Test Teardown Test Teardown Execution |
| 10 | |
| 11 | |
| 12 | ** Test Cases ** |
| 13 | |
| 14 | Verify AccountService Available |
Sivas SRR | fa6831c | 2019-02-22 00:12:00 -0600 | [diff] [blame] | 15 | [Documentation] Verify Redfish account service is available. |
Sivas SRR | 6aa101f | 2019-02-19 22:31:55 -0600 | [diff] [blame] | 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 | |
| 24 | Test Setup Execution |
| 25 | [Documentation] Do test case setup tasks. |
| 26 | |
| 27 | redfish.Login |
| 28 | |
| 29 | |
| 30 | Test Teardown Execution |
| 31 | [Documentation] Do the post test teardown. |
| 32 | |
| 33 | FFDC On Test Case Fail |
| 34 | redfish.Logout |