11 lines
265 B
Python
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
|