commit | 2b975827869d7f49ef990c86c1a197231b1e966f | [log] [tgz] |
---|---|---|
author | Tony Lee <tony.lee@quantatw.com> | Thu Apr 01 11:15:00 2021 +0800 |
committer | George Keishing <gkeishin@in.ibm.com> | Thu Apr 01 07:11:24 2021 +0000 |
tree | 2a2acda4ae955640966cb8ba7b9228ea9ad46ee6 | |
parent | 870999aaafec165cf581c3735e0e7468ca1af983 [diff] |
Fixed cases with hard-coded 'chassis' Reference to https://www.dmtf.org/sites/default/files/standards/documents/DSP2046_2020.3.pdf It should not hard-coded as 'chassis' in /redfish/v1/Chassis/chassis. It could be different name for /redfish/v1/Chassis/{ChassisId}. Signed-off-by: Tony Lee <tony.lee@quantatw.com> Change-Id: Ie6e8f37356b88692148bdda7348e715fcac6b4e3
diff --git a/redfish/service_root/test_service_root.robot b/redfish/service_root/test_service_root.robot index 1f38c48..9426fd2 100644 --- a/redfish/service_root/test_service_root.robot +++ b/redfish/service_root/test_service_root.robot
@@ -50,7 +50,7 @@ ${HTTP_OK} /redfish/v1/SessionService ${HTTP_OK} /redfish/v1/AccountService ${HTTP_OK} /redfish/v1/Systems/system - ${HTTP_OK} /redfish/v1/Chassis/chassis + ${HTTP_OK} /redfish/v1/Chassis/${CHASSIS_ID} ${HTTP_OK} /redfish/v1/Managers/bmc ${HTTP_OK} /redfish/v1/UpdateService
diff --git a/redfish/service_root/test_sessions_management.robot b/redfish/service_root/test_sessions_management.robot index afe68f9..e7a81cc 100644 --- a/redfish/service_root/test_sessions_management.robot +++ b/redfish/service_root/test_sessions_management.robot
@@ -132,7 +132,7 @@ # Members can be one or more, hence checking in the list. Valid List chassis['Members'] - ... required_values=[{'@odata.id': '/redfish/v1/Chassis/chassis'}] + ... required_values=[{'@odata.id': '/redfish/v1/Chassis/${CHASSIS_ID}'}] Verify Systems Defaults