Skip to content

Commit e51652e

Browse files
committed
Added devices dependency check to test test_gpio_control
1 parent e1db039 commit e51652e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/gpio_control/test/gpio_settings_test.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ hold_time: 2
3939
iteration_time: 0.2
4040
; led_pin: <GPIO no. of attached LED>, if LED used
4141
functionCall: functionCallShutdown
42+
led_pin : 12
4243

4344
[Volume0]
4445
enabled: False
@@ -85,4 +86,4 @@ pull_up_down: pull_up
8586
[StatusLED]
8687
enabled: True
8788
Type: StatusLED
88-
Pin: 14
89+
Pin: 12

components/gpio_control/test/test_gpio_control.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ def testMain():
3636
gpio_controler = gpio_control(phoniebox_function_calls)
3737

3838
devices = gpio_controler.get_all_devices(config)
39+
gpio_controler.checkDevicesDependencies()
3940
gpio_controler.print_all_devices()
4041
pass

0 commit comments

Comments
 (0)