litellm/tests/e2e/quota_management/budgets/conftest.py

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()