mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
16 lines
476 B
Python
16 lines
476 B
Python
"""Budgets suite's `client` fixture.
|
|
|
|
The shared lifecycle (resources/scoped_key), proxy liveness skip, and e2e marker
|
|
live in the parent tests/e2e/conftest.py. BudgetClient holds the shared Gateway,
|
|
so the `resources` fixture cleans up keys through it; tests register entity deletes
|
|
via `resources.defer(...)`.
|
|
"""
|
|
|
|
import pytest
|
|
|
|
from budget_client import BudgetClient, build_client
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def client() -> BudgetClient:
|
|
return build_client()
|