13 lines
323 B
Python
13 lines
323 B
Python
from fastapi.testclient import TestClient
|
|
|
|
from app.main import app
|
|
|
|
|
|
def test_dashboard_is_served_at_root() -> None:
|
|
with TestClient(app) as client:
|
|
response = client.get("/")
|
|
|
|
assert response.status_code == 200
|
|
assert "SillyHome Next" in response.text
|
|
assert "Automation-Entwurf" in response.text
|