summaryrefslogtreecommitdiff
path: root/tests/test_gpio.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-08 19:19:26 +0300
committerDevaev Maxim <[email protected]>2019-04-08 19:19:26 +0300
commit3a68e82f94815660d23fa771e8d6fdbfdbb0bee6 (patch)
tree35549d5349e412e4bfb015623cb73458aded684a /tests/test_gpio.py
parentdda30309a48370bb3d82c8723993490972613223 (diff)
refactoring
Diffstat (limited to 'tests/test_gpio.py')
-rw-r--r--tests/test_gpio.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gpio.py b/tests/test_gpio.py
index b5197590..f930f92f 100644
--- a/tests/test_gpio.py
+++ b/tests/test_gpio.py
@@ -24,7 +24,7 @@ from kvmd import gpio
# =====
-def test_gpio__loopback_initial_false() -> None:
+def test_ok__loopback_initial_false() -> None:
# pylint: disable=singleton-comparison
with gpio.bcm():
assert gpio.set_output(0) == 0
@@ -33,7 +33,7 @@ def test_gpio__loopback_initial_false() -> None:
assert gpio.read(0) is True
-def test_gpio__loopback_initial_true() -> None:
+def test_ok__loopback_initial_true() -> None:
# pylint: disable=singleton-comparison
with gpio.bcm():
assert gpio.set_output(0, True) == 0
@@ -42,7 +42,7 @@ def test_gpio__loopback_initial_true() -> None:
assert gpio.read(0) is False
-def test_gpio__input() -> None:
+def test_ok__input() -> None:
# pylint: disable=singleton-comparison
with gpio.bcm():
assert gpio.set_input(0) == 0