test: unit test parse_led.py
Providing a test for parse_led.py since it was refactored.
Testing that various keys in the yaml are available in the cpp literal.
Change-Id: I94d03eb2a4d2bd3129971c4acbe75edd74449ed4
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/test/config/test-led-priority.yaml b/test/config/test-led-priority.yaml
new file mode 100644
index 0000000..4dc755a
--- /dev/null
+++ b/test/config/test-led-priority.yaml
@@ -0,0 +1,22 @@
+group1:
+ led1:
+ Action: "On"
+ Priority: "On"
+group2:
+ led2:
+ Action: "Off"
+ Priority: "Off"
+group3:
+ led3:
+ Action: "Blink"
+ Priority: "Blink"
+group4:
+ led1:
+ Action: "Off"
+ Priority: "On"
+ led2:
+ Action: "On"
+ Priority: "Off"
+ led3:
+ Action: "On"
+ Priority: "Blink"