Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_watsonx_token_in_env_var

Ishaan Jaffc8febaca2e87
diff --git a/tests/llm_translation/test_watsonx.py b/tests/llm_translation/test_watsonx.py
index bbebe325077..2246a3fd879 100644
--- a/tests/llm_translation/test_watsonx.py
+++ b/tests/llm_translation/test_watsonx.py
@@ -106,7 +106,7 @@ def test_watsonx_token_in_env_var(
else:
assert (
mock_post.call_args[1]["headers"]["Authorization"]
- == "Bearer mock_access_token"
+ == "Bearer my-custom-token"
)