feat: enable ls client for files tests (#2769)

# What does this PR do?
titled

## Test Plan
CI
This commit is contained in:
ehhuang 2025-07-18 12:10:30 -07:00 committed by GitHub
parent 874b1cb00f
commit 6d55f2f137
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 83 additions and 9 deletions

View file

@ -257,6 +257,11 @@ def openai_client(client_with_models):
return OpenAI(base_url=base_url, api_key="fake")
@pytest.fixture(params=["openai_client", "llama_stack_client"])
def compat_client(request):
return request.getfixturevalue(request.param)
@pytest.fixture(scope="session", autouse=True)
def cleanup_server_process(request):
"""Cleanup server process at the end of the test session."""