from __future__ import annotations

from fastapi.testclient import TestClient

from src.web.app import app


client = TestClient(app)


def test_people_list_empty():
    res = client.get('/api/v1/people')
    assert res.status_code == 200
    data = res.json()
    assert 'items' in data and isinstance(data['items'], list)


def test_unidentified_faces_empty():
    res = client.get('/api/v1/faces/unidentified')
    assert res.status_code == 200
    data = res.json()
    assert data['total'] >= 0



