Files
sillyhome-next-dev/tests/api/test_entities.py

11 lines
265 B
Python

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