feat: завершить проект — добавить недостающие файлы, тесты и CI/CD

This commit is contained in:
2026-07-03 13:28:19 +00:00
parent ec2e9bf508
commit 0025e39e2d
20 changed files with 693 additions and 46 deletions
+13
View File
@@ -0,0 +1,13 @@
"""Тесты для health endpoint."""
import pytest
@pytest.mark.asyncio
async def test_health(client):
"""Проверка что health endpoint возвращает ok."""
response = await client.get("/api/health")
assert response.status_code == 200
data = response.json()
assert data["status"] == "ok"
assert data["service"] == "freelancer-match"