db version

This commit is contained in:
2024-08-28 22:53:58 +02:00
parent 28908255e7
commit b8faf975bf
6 changed files with 167 additions and 34 deletions
-10
View File
@@ -1,11 +1 @@
from fastapi import status
from fastapi.testclient import TestClient
from src.main import app
def test_get_homeassistant_status() -> None:
client = TestClient(app)
response = client.get("/homeassistant/status")
assert response.status_code == status.HTTP_200_OK
assert response.json() == {"Status": "Ok"}