import pytest from fastapi.testclient import TestClient from main import app @pytest.fixture def client(): """Provides a TestClient instance for interacting with the FastAPI application.""" with TestClient(app) as test_client: yield test_client @pytest.fixture def sandbox_headers(): """Provides standard headers for local guest/sandbox mode.""" return {"Authorization": "Bearer sandbox"}