test(vertex): exclude the unreachable exhaustiveness guard from coverage

This commit is contained in:
Kolade Fajimi 2026-09-08 09:04:10 +01:00
parent eeba33fd95
commit 8a48c1d665

View file

@ -143,4 +143,4 @@ def raise_vertex_credentials_failure(failure: VertexCredentialsFailure) -> NoRet
"Check for unescaped newlines in private_key."
)
case _: # pragma: no cover - exhaustiveness guard, unreachable while the union holds
assert_never(failure)
assert_never(failure) # pragma: no cover