From cd8aabda56a8b203ba86c8db3552512eb8d1b448 Mon Sep 17 00:00:00 2001 From: yucheng Date: Sat, 26 Sep 2026 15:46:03 +0000 Subject: [PATCH] test(passthrough): pin the 16 char token floor of the wrapped key mask Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../proxy/pass_through_endpoints/test_pass_through_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py b/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py index f5c4d048d06..cf1ffa42f0e 100644 --- a/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py +++ b/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py @@ -8503,7 +8503,7 @@ async def test_upstream_error_body_for_log_masks_a_pem_after_a_json_escaped_newl "body", [ '{"error":{"message":"-----BEGIN PRIVATE KEY----- header is missing from the uploaded credentials file please re-upload it"}}', - "-----BEGIN PRIVATE KEY----- misconfigurationdetected in the uploaded credentials file", + "-----BEGIN PRIVATE KEY----- misconfigurationdetected within the uploaded credentials file", "-----BEGIN PRIVATE KEY----- header missing see https://cloud.google.com/docs/authentication/getting-started for details", "Invalid JWT Signature. The private_key field must start with -----BEGIN PRIVATE KEY----- and contain the PEM encoded key from your service account JSON file", "-----BEGIN RSA PRIVATE KEY----- block could not be parsed",