mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
test tweak
This commit is contained in:
@@ -430,6 +430,8 @@ def test_energenie_bad_init():
|
|||||||
Energenie()
|
Energenie()
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
Energenie(0)
|
Energenie(0)
|
||||||
|
with pytest.raises(ValueError):
|
||||||
|
Energenie(5)
|
||||||
|
|
||||||
def test_energenie():
|
def test_energenie():
|
||||||
pins = [MockPin(n) for n in (17, 22, 23, 27, 24, 25)]
|
pins = [MockPin(n) for n in (17, 22, 23, 27, 24, 25)]
|
||||||
|
|||||||
Reference in New Issue
Block a user