from fastapi.testclient import TestClient from app.main import app client = TestClient(app) def test_openapi_docs_are_available() -> None: response = client.get("/docs") assert response.status_code == 200 assert "SillyHome Next API" in response.text