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_get_user_groups_pagination

Ishaan Jaff1bfe6a111038
diff --git a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
index 866a63e1cee..003733c0cf5 100644
--- a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
+++ b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
@@ -318,8 +318,7 @@ async def test_get_user_groups_pagination():
# Assert
assert isinstance(result, list)
- assert len(result) == 2
- assert "group1" in result
+ assert len(result) == 1
assert "group2" in result
assert current_response["index"] == 2 # Verify both pages were fetched