feature/ha-api-integration: API-Code aus feature/api-core übernehmen

This commit is contained in:
2026-06-10 20:41:12 +02:00
parent 9016dbad18
commit 009d4b68cb
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
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