From 526ec18a3b50bd254f2c5e7c3119056d2e2f512d Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 9 Sep 2020 05:38:32 +0300 Subject: [PATCH] improved tests --- testenv/tests/validators/test_auth.py | 1 + testenv/tests/validators/test_hw.py | 1 + testenv/tests/validators/test_kvm.py | 1 + 3 files changed, 3 insertions(+) diff --git a/testenv/tests/validators/test_auth.py b/testenv/tests/validators/test_auth.py index f3cdf939..f4ddbdfd 100644 --- a/testenv/tests/validators/test_auth.py +++ b/testenv/tests/validators/test_auth.py @@ -51,6 +51,7 @@ def test_ok__valid_user(arg: Any) -> None: "te~st", "-", "-foo_bar", + "foo bar", " ", "", None, diff --git a/testenv/tests/validators/test_hw.py b/testenv/tests/validators/test_hw.py index 912f8f5e..2956375c 100644 --- a/testenv/tests/validators/test_hw.py +++ b/testenv/tests/validators/test_hw.py @@ -94,6 +94,7 @@ def test_ok__valid_otg_gadget(arg: Any) -> None: "te~st", "-", "-foo_bar", + "foo bar", "a" * 256, " ", "", diff --git a/testenv/tests/validators/test_kvm.py b/testenv/tests/validators/test_kvm.py index cab03198..f0bfaa22 100644 --- a/testenv/tests/validators/test_kvm.py +++ b/testenv/tests/validators/test_kvm.py @@ -225,6 +225,7 @@ def test_ok__valid_ugpio_item(validator: Callable[[Any], str], arg: Any) -> None "te~st", "-", "-foo_bar", + "foo bar", "a" * 256, " ", "",