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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_async_gcs_pub_sub_v1
Ishaan Jaffer28afbc152fb4
diff --git a/tests/logging_callback_tests/test_gcs_pub_sub.py b/tests/logging_callback_tests/test_gcs_pub_sub.pyindex 540fb59ab01..5c0da673ada 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_postmock_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_postmock_construct_request_headers = AsyncMock()