mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix: extract normalize_route_for_root_path to deduplicate root-path stripping; fix mock target
This commit is contained in:
parent
938452cc59
commit
1af7f11dae
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue