Files
qmd-memory-gateway/gateway/tests/test_health.py

10 lines
239 B
Python

from __future__ import annotations
def test_health(client):
resp = client.get("/health")
assert resp.status_code == 200
payload = resp.json()
assert payload["ok"] is True
assert payload["service"] == "memory-gateway"