From 428be54ff539e647bd2e470129403b9bc63b8ce0 Mon Sep 17 00:00:00 2001 From: Hasnaat Hussain Date: Fri, 2 Oct 2026 13:18:23 +0500 Subject: [PATCH] test(anthropic): use moved pass-through handler Signed-off-by: Hasnaat Hussain --- ...nthropic_experimental_pass_through_messages_handler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/llms/anthropic/pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py b/tests/unit/llms/anthropic/pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py index 022ee581858..e0145a6ff38 100644 --- a/tests/unit/llms/anthropic/pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py +++ b/tests/unit/llms/anthropic/pass_through/messages/test_anthropic_experimental_pass_through_messages_handler.py @@ -1688,7 +1688,7 @@ async def test_anthropic_messages_forwards_safeguards_and_dangerous_tool_use_bet @pytest.mark.asyncio async def test_anthropic_pass_through_drop_params(monkeypatch): - from litellm.llms.anthropic.experimental_pass_through.messages import handler + from litellm.llms.anthropic.pass_through.messages import handler mock_handler = AsyncMock() monkeypatch.setattr(handler.base_llm_http_handler, "anthropic_messages_handler", mock_handler) @@ -1708,7 +1708,7 @@ async def test_anthropic_pass_through_drop_params(monkeypatch): def test_drop_params_filters_unsupported_anthropic_params(): - from litellm.llms.anthropic.experimental_pass_through.messages.handler import ( + from litellm.llms.anthropic.pass_through.messages.handler import ( _drop_unsupported_anthropic_messages_params, ) @@ -1733,7 +1733,7 @@ def test_drop_params_filters_unsupported_anthropic_params(): def test_drop_params_preserves_supported_anthropic_params(): - from litellm.llms.anthropic.experimental_pass_through.messages.handler import ( + from litellm.llms.anthropic.pass_through.messages.handler import ( _drop_unsupported_anthropic_messages_params, ) @@ -1756,7 +1756,7 @@ def test_drop_params_preserves_supported_anthropic_params(): @pytest.mark.asyncio async def test_anthropic_pass_through_keeps_supported_params_without_drop(monkeypatch): import litellm - from litellm.llms.anthropic.experimental_pass_through.messages import handler + from litellm.llms.anthropic.pass_through.messages import handler mock_handler = AsyncMock() monkeypatch.setattr(litellm, "drop_params", False)