From 28afbc152fb444c934143e5207c42d49aeeda008 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Mon, 30 Mar 2026 16:52:56 -0700 Subject: [PATCH] test_async_gcs_pub_sub_v1 --- tests/logging_callback_tests/test_gcs_pub_sub.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/logging_callback_tests/test_gcs_pub_sub.py b/tests/logging_callback_tests/test_gcs_pub_sub.py index 540fb59ab0..5c0da673ad 100644 --- a/tests/logging_callback_tests/test_gcs_pub_sub.py +++ b/tests/logging_callback_tests/test_gcs_pub_sub.py @@ -190,7 +190,9 @@ async def test_async_gcs_pub_sub(): mock_post.return_value.text = "Accepted" # Initialize the GcsPubSubLogger and set the mock - gcs_pub_sub_logger = GcsPubSubLogger(flush_interval=1) + gcs_pub_sub_logger = GcsPubSubLogger( + project_id="STUBBED_PROJECT_ID", topic_id="STUBBED_TOPIC_ID", flush_interval=1 + ) gcs_pub_sub_logger.async_httpx_client.post = mock_post mock_construct_request_headers = AsyncMock() @@ -245,7 +247,9 @@ async def test_async_gcs_pub_sub_v1(): mock_post.return_value.text = "Accepted" # Initialize the GcsPubSubLogger and set the mock - gcs_pub_sub_logger = GcsPubSubLogger(flush_interval=1) + gcs_pub_sub_logger = GcsPubSubLogger( + project_id="STUBBED_PROJECT_ID", topic_id="STUBBED_TOPIC_ID", flush_interval=1 + ) gcs_pub_sub_logger.async_httpx_client.post = mock_post mock_construct_request_headers = AsyncMock()