"""Shared fixtures for football_api tests."""

from __future__ import annotations

import pytest
import respx

from football_api.client import BASE_URL, AsyncFootballClient, FootballClient


@pytest.fixture()
def client() -> FootballClient:
    return FootballClient(api_key="test-token", base_url=BASE_URL)


@pytest.fixture()
def async_client() -> AsyncFootballClient:
    return AsyncFootballClient(api_key="test-token", base_url=BASE_URL)


@pytest.fixture()
def mock_api() -> respx.MockRouter:
    with respx.mock(base_url=BASE_URL) as router:
        yield router
