Test enclosure fault led after assertion on CPU LED.
This change includes:
- Added test case to verify enclosure fault LED on assertion.
- Moved "Get System LED State" keyword from led.robot into utils.robot.
- Added the test case in skip list of barrelye and palmetto as it is NA.
Resolves openbmc/openbmc-test-automation#432
Change-Id: Ic57b488a2087e18fd5e690d800ab4ac2e08eac2b
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/tests/test_ledgroup.robot b/tests/test_ledgroup.robot
index 2ac2bf7..54697a8 100644
--- a/tests/test_ledgroup.robot
+++ b/tests/test_ledgroup.robot
@@ -79,7 +79,15 @@
Verify LED Group bmc_fault
Verify LED Group motherboard_fault
-*** Keywords ***
+Verify Enclosure Fault LED On Assertion
+ [Documentation] Verify enclosure fault LED on assertion.
+ [Tags] Verify_Enclosure_Fault_LED_On_Assertion
+
+ Set LED State On cpu0_fault
+ ${resp}= Get System LED State rear_fault
+ Should Be Equal ${resp} On
+
+***Keywords***
Set LED State
[Documentation] Set state of given LED to on or off.