from fastapi.testclient import TestClient from app.main import app client = TestClient(app) def test_health_returns_healthy() -> None: response = client.get("/health") assert response.status_code == 200 assert response.json() == {"status": "healthy"} def test_root_identifies_application() -> None: response = client.get("/") assert response.status_code == 200 assert response.json() == {"name": "Media Ingest", "status": "running"}