From fea40925cf5b00de70defd603f5cfb49a60496a4 Mon Sep 17 00:00:00 2001 From: shin-bot-litellm Date: Sat, 31 Jan 2026 10:10:45 -0800 Subject: [PATCH] test: remove hosted_vllm from OpenAI client tests (#20163) hosted_vllm no longer uses the OpenAI client, so these tests that mock the OpenAI client are not applicable to hosted_vllm. Removes hosted_vllm from: - test_openai_compatible_custom_api_base - test_openai_compatible_custom_api_video --- tests/local_testing/test_completion.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/local_testing/test_completion.py b/tests/local_testing/test_completion.py index de10034ca9..c322db157e 100644 --- a/tests/local_testing/test_completion.py +++ b/tests/local_testing/test_completion.py @@ -1373,8 +1373,8 @@ HF Tests we should pass @pytest.mark.parametrize( - "provider", ["openai", "hosted_vllm", "lm_studio", "llamafile"] -) # "vertex_ai", + "provider", ["openai", "lm_studio", "llamafile"] +) # "vertex_ai", hosted_vllm removed - no longer uses OpenAI client @pytest.mark.asyncio async def test_openai_compatible_custom_api_base(provider): litellm.set_verbose = True @@ -1414,10 +1414,9 @@ async def test_openai_compatible_custom_api_base(provider): "provider", [ "openai", - "hosted_vllm", "llamafile", ], -) # "vertex_ai", +) # "vertex_ai", hosted_vllm removed - no longer uses OpenAI client @pytest.mark.asyncio async def test_openai_compatible_custom_api_video(provider): litellm.set_verbose = True