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:
ehhuang 2025-06-05 13:42:10 -07:00 committed by GitHub
parent ee6feaa2d5
commit 92b59a3377
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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