1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Some fixes for the py.test modules. There are still errors and the softpwm stuff is still segfaulting

This commit is contained in:
Robert Wolterman
2016-07-03 12:01:58 -05:00
parent 9ee83c0b38
commit 54f14a88af
3 changed files with 10 additions and 4 deletions

View File

@ -25,6 +25,7 @@ class TestGPIOOutput:
GPIO.setup("CSID6", GPIO.OUT)
direction = GPIO.gpio_function("CSID6")
assert direction == GPIO.OUT
def test_output_greater_than_one(self):
GPIO.setup("CSID6", GPIO.OUT)
GPIO.output("CSID6", 2)