summaryrefslogtreecommitdiff
path: root/testenv/tests/validators/test_hw.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-09 03:58:43 +0300
committerDevaev Maxim <[email protected]>2020-09-09 03:58:43 +0300
commit2211124ecba827c916882f3a291d8b227ea5fdcf (patch)
tree568e90db3c77ba15479d43b8187beea313b3adb5 /testenv/tests/validators/test_hw.py
parent9c78f4f631facc41df099e5b6b318d0b9e665adc (diff)
tests
Diffstat (limited to 'testenv/tests/validators/test_hw.py')
-rw-r--r--testenv/tests/validators/test_hw.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testenv/tests/validators/test_hw.py b/testenv/tests/validators/test_hw.py
index a10a5feb..912f8f5e 100644
--- a/testenv/tests/validators/test_hw.py
+++ b/testenv/tests/validators/test_hw.py
@@ -82,6 +82,7 @@ def test_fail__valid_gpio_pin_optional(arg: Any) -> None:
"_",
"_foo_bar_",
" aix",
+ "a" * 255,
])
def test_ok__valid_otg_gadget(arg: Any) -> None:
assert valid_otg_gadget(arg) == arg.strip()
@@ -93,6 +94,7 @@ def test_ok__valid_otg_gadget(arg: Any) -> None:
"te~st",
"-",
"-foo_bar",
+ "a" * 256,
" ",
"",
None,