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(auth): drop docstrings from team membership tests
yassinff023906855c
diff --git a/tests/test_litellm/proxy/auth/test_auth_checks.py b/tests/test_litellm/proxy/auth/test_auth_checks.pyindex 04e41608b26..b843916debf 100644--- a/tests/test_litellm/proxy/auth/test_auth_checks.py+++ b/tests/test_litellm/proxy/auth/test_auth_checks.py@@ -6456,7 +6456,6 @@ async def test_get_team_membership_reads_sentinel_as_no_membership_not_a_model()@pytest.mark.asyncioasync def test_get_team_membership_coalesces_parallel_db_fetches():- """Concurrent misses for the same member must share one Prisma round-trip."""from litellm.proxy.auth.auth_checks import get_team_membershipstarted = asyncio.Event()@@ -6496,7 +6495,6 @@ async def test_get_team_membership_coalesces_parallel_db_fetches():@pytest.mark.asyncioasync def test_common_checks_calls_get_team_membership_once_per_request():- """Model-access, attribution, and member-budget must reuse one membership load."""from fastapi import Requestfrom litellm.proxy.auth.auth_checks import common_checks@@ -6543,7 +6541,6 @@ async def test_common_checks_calls_get_team_membership_once_per_request():@pytest.mark.asyncioasync def test_common_checks_skips_membership_load_when_no_check_reads_it():- """A management route has no model and no budget gate, so the membership row is never loaded."""from fastapi import Requestfrom litellm.proxy.auth.auth_checks import common_checks@@ -6583,7 +6580,6 @@ async def test_common_checks_skips_membership_load_when_no_check_reads_it():@pytest.mark.asyncioasync def test_get_team_membership_db_error_returns_none_and_retries_next_call():- """A Prisma failure reads as no membership, caches nothing, and the next call hits the DB again."""from litellm.proxy.auth.auth_checks import get_team_membershipfrom litellm.proxy.common_utils.user_api_key_cache import team_membership_reservation_cache_key@@ -6620,7 +6616,6 @@ async def test_get_team_membership_db_error_returns_none_and_retries_next_call()@pytest.mark.asyncioasync def test_get_team_membership_string_prisma_client_returns_none():- """Unit tests stub prisma_client as a string; the lookup fails and reads as no membership."""from litellm.proxy.auth.auth_checks import get_team_membershipresult = await get_team_membership(@@ -6634,7 +6629,6 @@ async def test_get_team_membership_string_prisma_client_returns_none():@pytest.mark.asyncioasync def test_get_team_membership_waiter_cancel_does_not_cancel_shared_load():- """Cancelling one coalesced waiter must not cancel the shared Prisma load."""from litellm.proxy.auth.auth_checks import get_team_membershipstarted = asyncio.Event()