mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix tests for pinout
This commit is contained in:
@@ -9,7 +9,7 @@ str = type('')
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from gpiozero.cli.pinout import main
|
from gpiozerocli.pinout import main
|
||||||
|
|
||||||
|
|
||||||
def test_args_incorrect():
|
def test_args_incorrect():
|
||||||
@@ -32,4 +32,4 @@ def test_help(capsys):
|
|||||||
with pytest.raises(SystemExit) as ex:
|
with pytest.raises(SystemExit) as ex:
|
||||||
main(['pinout', '--help'])
|
main(['pinout', '--help'])
|
||||||
out, err = capsys.readouterr()
|
out, err = capsys.readouterr()
|
||||||
assert 'GPIO pinout' in out
|
assert 'GPIO pin-out' in out
|
||||||
|
|||||||
Reference in New Issue
Block a user