From a7415865191cc6549824c17f9e8b06c7f56c9798 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 10 Jul 2024 15:54:55 -0700 Subject: [PATCH] test openai files endpoints --- ...t_openai_batches.py => test_openai_batches_and_files.py} | 6 ++++++ 1 file changed, 6 insertions(+) rename litellm/tests/{test_openai_batches.py => test_openai_batches_and_files.py} (97%) diff --git a/litellm/tests/test_openai_batches.py b/litellm/tests/test_openai_batches_and_files.py similarity index 97% rename from litellm/tests/test_openai_batches.py rename to litellm/tests/test_openai_batches_and_files.py index 05a81a50e..14aee6e19 100644 --- a/litellm/tests/test_openai_batches.py +++ b/litellm/tests/test_openai_batches_and_files.py @@ -164,6 +164,12 @@ async def test_async_create_batch(): assert delete_file_response.id == batch_input_file_id + all_files_list = await litellm.afile_list( + custom_llm_provider="openai", + ) + + print("all_files_list = ", all_files_list) + # # write this file content to a file # with open("file_content.json", "w") as f: # json.dump(file_content, f)