mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
12 lines
251 B
Python
12 lines
251 B
Python
from fastapi.testclient import TestClient
|
|
|
|
from main import app
|
|
|
|
client = TestClient(app)
|
|
|
|
|
|
def test_heartbeat():
|
|
response = client.get("/heartbeat")
|
|
assert response.status_code == 200
|
|
assert response.json() == {"ROMM_AUTH_ENABLED": True}
|