Buckets:

download
raw
938 Bytes
"""LLM-translation suite's `client` fixture.
The shared lifecycle (resources/scoped_key), proxy liveness gate, and e2e marker
live in the parent tests/e2e/conftest.py. PassthroughClient holds the shared
ProxyClient, so the `resources` fixture cleans up keys this suite creates.
"""
import pytest
from endpoints_client import EndpointsClient, build_endpoints_client
from passthrough_client import PassthroughClient, build_client
from proxy_client import ProxyClient
def pytest_configure(config: pytest.Config) -> None:
config.addinivalue_line(
"markers",
"covers: registry cell a test covers, e.g. llm.chat_completions.provider.basic.nonstream.works",
)
@pytest.fixture(scope="session")
def client(proxy: ProxyClient) -> PassthroughClient:
return build_client(proxy)
@pytest.fixture(scope="session")
def endpoints_client(proxy: ProxyClient) -> EndpointsClient:
return build_endpoints_client(proxy)

Xet Storage Details

Size:
938 Bytes
·
Xet hash:
52c4caf86a36165f66d9179a9099535e76b74c929fe44c15156508b6c5521248

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.