From 1af7f11dae5e313db1fafb2ccdeae662fbc52f17 Mon Sep 17 00:00:00 2001 From: joereyna Date: Thu, 12 Mar 2026 08:16:00 -0700 Subject: [PATCH] fix: extract normalize_route_for_root_path to deduplicate root-path stripping; fix mock target --- .../proxy/pass_through_endpoints/test_pass_through_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py b/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py index 5af24f9612..50459bf18a 100644 --- a/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py +++ b/tests/test_litellm/proxy/pass_through_endpoints/test_pass_through_endpoints.py @@ -2383,7 +2383,7 @@ def test_mapped_pass_through_routes_with_server_root_path(): ) with patch( - "litellm.proxy.pass_through_endpoints.pass_through_endpoints.get_server_root_path" + "litellm.proxy.utils.get_server_root_path" ) as mock_get_root: mock_get_root.return_value = "/litellm"