"""Unit tests for UserService (business logic, not HTTP)."""

from __future__ import annotations

import pytest

from {{ cookiecutter.project_name }}.services.user_service import UserService


@pytest.mark.skip(reason="requires DB fixture; wire up after issue #2 (project-status compat)")
async def test_get_users_returns_list() -> None:
    """get_users must return a list (NOT a tuple — bug fixed)."""
    users = await UserService.get_users()
    assert isinstance(users, list)