IPMI: Fix for 'Test Power Reading Via IPMI With Host Booted'
Changes:
- Updated the Redfish URI for power reading.
Tested:
- Test_Power_Reading_Via_IPMI_With_Host_Booted.
Change-Id: I6c42a9047d8e436112ad0dfd049ada179bdd26c1
Signed-off-by: Nandish-Matti <nandish.matti@ibm.com>
diff --git a/ipmi/test_ipmi_sensor.robot b/ipmi/test_ipmi_sensor.robot
index ff39c2f..a4254c2 100644
--- a/ipmi/test_ipmi_sensor.robot
+++ b/ipmi/test_ipmi_sensor.robot
@@ -326,7 +326,7 @@
${ipmi_reading}= Get IPMI Power Reading
${redfish_power_reading}= redfish_utils.Get Attribute
- ... /redfish/v1/Chassis/chassis/Sensors/total_power Reading
+ ... /redfish/v1/Chassis/${CHASSIS_ID}/Sensors/power_total_power Reading
${ipmi_redfish_power_diff}=
... Evaluate abs(${redfish_power_reading} - ${ipmi_reading['instantaneous_power_reading']})