Skip to content

Commit f942791

Browse files
committed
fixed LED integration test
1 parent 858586b commit f942791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests/test_led/test_led.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def fixture_gpio():
2626
])
2727
def test_turn_led_on(led_name, led, gpio):
2828
led.turn_led_on(led_name)
29-
state = gpio.read_pin_sate(led_name.value)
29+
state = gpio.read_pin_state(led_name.value)
3030
assert state is True
3131

3232

@@ -42,7 +42,7 @@ def test_turn_led_on(led_name, led, gpio):
4242
])
4343
def test_turn_led_off(led_name, led, gpio):
4444
led.turn_led_off(led_name)
45-
state = gpio.read_pin_sate(led_name.value)
45+
state = gpio.read_pin_state(led_name.value)
4646
assert state is False
4747

4848

0 commit comments

Comments
 (0)