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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(proxy): assert the copy _add_team_member_budget_table returns
mateo0791dd941b3d
diff --git a/tests/test_litellm/proxy/management_endpoints/test_team_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_team_endpoints.pyindex a1cbc77b7a5..1e47010b57c 100644--- a/tests/test_litellm/proxy/management_endpoints/test_team_endpoints.py+++ b/tests/test_litellm/proxy/management_endpoints/test_team_endpoints.py@@ -932,8 +932,11 @@ async def test_add_team_member_budget_table_success():)# Verify the result- assert result == team_info_responseassert result.team_member_budget_table == mock_budget_record+ assert result == team_info_response.model_copy(+ update={"team_member_budget_table": mock_budget_record}+ )+ assert team_info_response.team_member_budget_table is None# Verify database call was made correctlymock_prisma_client.db.litellm_budgettable.find_unique.assert_called_once_with(