db version
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user