diff options
Diffstat (limited to 'tests/test_validators_auth.py')
-rw-r--r-- | tests/test_validators_auth.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test_validators_auth.py b/tests/test_validators_auth.py index 0fae541c..cec7efa7 100644 --- a/tests/test_validators_auth.py +++ b/tests/test_validators_auth.py @@ -28,7 +28,6 @@ from kvmd.validators import ValidatorError from kvmd.validators.auth import valid_user from kvmd.validators.auth import valid_passwd from kvmd.validators.auth import valid_auth_token -from kvmd.validators.auth import valid_auth_type # ===== @@ -106,14 +105,3 @@ def test_ok__valid_auth_token(arg: Any) -> None: def test_fail__valid_auth_token(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_auth_token(arg)) - - [email protected]("arg", ["HTPASSWD ", "htpasswd"]) -def test_ok__valid_auth_type(arg: Any) -> None: - assert valid_auth_type(arg) == arg.strip().lower() - - [email protected]("arg", ["test", "", None]) -def test_fail__valid_auth_type(arg: Any) -> None: - with pytest.raises(ValidatorError): - print(valid_auth_type(arg)) |