From de9bd4abe68789254cb554d2573cd488dad9fe20 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 12 Aug 2024 16:07:08 -0700 Subject: [PATCH] test gcs logging payload --- litellm/tests/test_gcs_bucket.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/litellm/tests/test_gcs_bucket.py b/litellm/tests/test_gcs_bucket.py index b30978bad5..4fa9d8ef43 100644 --- a/litellm/tests/test_gcs_bucket.py +++ b/litellm/tests/test_gcs_bucket.py @@ -117,17 +117,8 @@ async def test_basic_gcs_logger(): await asyncio.sleep(5) - # Get the current date - # Get the current date - current_date = datetime.now().strftime("%Y-%m-%d") - - # Modify the object_name to include the date-based folder - object_name = f"{current_date}%2F{response.id}" - - print("object_name", object_name) - # Check if object landed on GCS - object_from_gcs = await gcs_logger.download_gcs_object(object_name=object_name) + object_from_gcs = await gcs_logger.download_gcs_object(object_name=response.id) print("object from gcs=", object_from_gcs) # convert object_from_gcs from bytes to DICT parsed_data = json.loads(object_from_gcs)