mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
test: skip files integrations tests for library client (#2407)
# What does this PR do? ## Test Plan LLAMA_STACK_CONFIG=fireworks pytest -s -v tests/integration/files/test_files.py::test_openai_client_basic_operations
This commit is contained in:
parent
ee6feaa2d5
commit
92b59a3377
1 changed files with 7 additions and 1 deletions
|
@ -6,9 +6,15 @@
|
||||||
|
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
def test_openai_client_basic_operations(openai_client):
|
from llama_stack.distribution.library_client import LlamaStackAsLibraryClient
|
||||||
|
|
||||||
|
|
||||||
|
def test_openai_client_basic_operations(openai_client, client_with_models):
|
||||||
"""Test basic file operations through OpenAI client."""
|
"""Test basic file operations through OpenAI client."""
|
||||||
|
if isinstance(client_with_models, LlamaStackAsLibraryClient):
|
||||||
|
pytest.skip("OpenAI files are not supported when testing with library client yet.")
|
||||||
client = openai_client
|
client = openai_client
|
||||||
|
|
||||||
test_content = b"files test content"
|
test_content = b"files test content"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue