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
This commit is contained in:
shin-bot-litellm 2026-01-31 10:10:45 -08:00 committed by GitHub
parent 2780e2f81e
commit fea40925cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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