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-group-priority.yaml b/test/config/test-group-priority.yaml
new file mode 100644
index 0000000..ca5005f
--- /dev/null
+++ b/test/config/test-group-priority.yaml
@@ -0,0 +1,17 @@
+group1:
+ led1:
+ Action: "On"
+group2:
+ led1:
+ Action: "Off"
+group3:
+ led1:
+ Action: "Blink"
+ DutyOn: 50
+ Period: 1000
+group4:
+ Priority: 2
+ led1:
+ Action: "On"
+ led2:
+ Action: "Off"