Fix Power restore for IPMI
Change-Id: If440e8427052089fa019c10d33b1969e693eac20
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/ipmi/test_chassis.robot b/tests/ipmi/test_chassis.robot
index de70a82..183958c 100755
--- a/tests/ipmi/test_chassis.robot
+++ b/tests/ipmi/test_chassis.robot
@@ -43,7 +43,7 @@
${initial_power_policy}= Read Attribute ${HOST_SETTING} power_policy
- Set BMC Power Policy ALWAYS_POWER_ON
+ Set BMC Power Policy ${ALWAYS_POWER_ON}
${resp}= Run IPMI Standard Command chassis status
${power_status}=
... Get Lines Containing String ${resp} Power Restore Policy
@@ -55,7 +55,7 @@
... Get Lines Containing String ${resp} Power Restore Policy
Should Contain ${power_status} previous
- Set BMC Power Policy LEAVE_OFF
+ Set BMC Power Policy ${ALWAYS_POWER_OFF}
${resp}= Run IPMI Standard Command chassis status
${power_status}=
... Get Lines Containing String ${resp} Power Restore Policy