mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-14 02:00:32 +08:00
improved tests
This commit is contained in:
parent
a9a6f477bc
commit
526ec18a3b
@ -51,6 +51,7 @@ def test_ok__valid_user(arg: Any) -> None:
|
|||||||
"te~st",
|
"te~st",
|
||||||
"-",
|
"-",
|
||||||
"-foo_bar",
|
"-foo_bar",
|
||||||
|
"foo bar",
|
||||||
" ",
|
" ",
|
||||||
"",
|
"",
|
||||||
None,
|
None,
|
||||||
|
|||||||
@ -94,6 +94,7 @@ def test_ok__valid_otg_gadget(arg: Any) -> None:
|
|||||||
"te~st",
|
"te~st",
|
||||||
"-",
|
"-",
|
||||||
"-foo_bar",
|
"-foo_bar",
|
||||||
|
"foo bar",
|
||||||
"a" * 256,
|
"a" * 256,
|
||||||
" ",
|
" ",
|
||||||
"",
|
"",
|
||||||
|
|||||||
@ -225,6 +225,7 @@ def test_ok__valid_ugpio_item(validator: Callable[[Any], str], arg: Any) -> None
|
|||||||
"te~st",
|
"te~st",
|
||||||
"-",
|
"-",
|
||||||
"-foo_bar",
|
"-foo_bar",
|
||||||
|
"foo bar",
|
||||||
"a" * 256,
|
"a" * 256,
|
||||||
" ",
|
" ",
|
||||||
"",
|
"",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user