Fix power reading value check
Change-Id: I16aab241653808edcd50264b7048da41c1a387f6
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/ipmi/test_general_ipmi.robot b/tests/ipmi/test_general_ipmi.robot
index e76ca01..bb9e943 100644
--- a/tests/ipmi/test_general_ipmi.robot
+++ b/tests/ipmi/test_general_ipmi.robot
@@ -599,9 +599,10 @@
${host_state}= Get Host State
Run Keyword If '${host_state}' == 'Off'
- ... Should Be Equal ${power_reading['instantaneous_power_reading']} 0 Watts
+ ... Should Be Equal ${power_reading['instantaneous_power_reading']} 0
+ ... msg=Power reading not zero when power is off.
- Run Keyword If '${power_reading['instantaneous_power_reading']}' != '0 Watts'
+ Run Keyword If '${power_reading['instantaneous_power_reading']}' != '0'
... Verify Power Reading Using REST ${power_reading['instantaneous_power_reading']}