From 9d32ed6b361d468d401b442dcce2d25aee7fcec2 Mon Sep 17 00:00:00 2001 From: yryzhan Date: Wed, 20 May 2026 18:57:21 +0200 Subject: [PATCH] fix(test): add AsyncMock to top-level imports in test_s3_v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI failed with NameError because AsyncMock was not imported at module level — only inline in some test methods. --- tests/test_litellm/integrations/test_s3_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/integrations/test_s3_v2.py b/tests/test_litellm/integrations/test_s3_v2.py index ae795dc1f2f..ded8d8a542d 100644 --- a/tests/test_litellm/integrations/test_s3_v2.py +++ b/tests/test_litellm/integrations/test_s3_v2.py @@ -1,6 +1,6 @@ import asyncio from datetime import datetime -from unittest.mock import MagicMock, patch +from unittest.mock import AsyncMock, MagicMock, patch import pytest