"""网关单测公用 fixtures。"""

from __future__ import annotations

import uuid

import pytest
from ww_llm_gateway.types import LlmRequest, Scope


@pytest.fixture
def scope() -> Scope:
    return Scope(user_id=uuid.UUID(int=1), project_id=uuid.UUID(int=2))


@pytest.fixture
def req(scope: Scope) -> LlmRequest:
    return LlmRequest(tier="writer", input="写第 1 章", scope=scope)
