Proxmox polish strings & tests (#163361)

This commit is contained in:
Erwin Douna
2026-02-18 14:10:16 +01:00
committed by GitHub
parent 151e075e28
commit 937b4866c3
2 changed files with 7 additions and 22 deletions

View File

@@ -47,26 +47,11 @@ async def test_all_entities(
@pytest.mark.parametrize(
("exception"),
[
(
AuthenticationError("Invalid credentials"),
"invalid_auth",
),
(
SSLError("SSL handshake failed"),
"ssl_error",
),
(
ConnectTimeout("Connection timed out"),
"connect_timeout",
),
(
ResourceException,
"resource_exception",
),
(
requests.exceptions.ConnectionError,
"connection_error",
),
(AuthenticationError("Invalid credentials")),
(SSLError("SSL handshake failed")),
(ConnectTimeout("Connection timed out")),
(ResourceException),
(requests.exceptions.ConnectionError),
],
ids=[
"auth_error",