mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 21:23:59 +00:00
feat: enable ls client for files tests
# What does this PR do? ## Test Plan
This commit is contained in:
parent
477bcd4d09
commit
d1b2e8f33d
3 changed files with 83 additions and 9 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue