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(managed-files): read the scoped page id from the row's unified_file_id

mateo-berri2112422c713c
diff --git a/tests/enterprise/litellm_enterprise/proxy/hooks/test_managed_files.py b/tests/enterprise/litellm_enterprise/proxy/hooks/test_managed_files.py
index 9e94b9f2a0f..d3efcf2e7a0 100644
--- a/tests/enterprise/litellm_enterprise/proxy/hooks/test_managed_files.py
+++ b/tests/enterprise/litellm_enterprise/proxy/hooks/test_managed_files.py
@@ -3119,8 +3119,9 @@ async def test_file_list_cursors_follow_the_owner_scoped_page():
)
managed_row = MagicMock()
+ managed_row.unified_file_id = "litellm_proxy:mine"
managed_row.file_object = {
- "id": "litellm_proxy:mine",
+ "id": "file-mine",
"bytes": 100,
"created_at": 1,
"filename": "mine.jsonl",