quartermaster/tests/test_health.py

8 lines
198 B
Python
Raw Normal View History

from __future__ import annotations
def test_healthz_returns_ok(client):
response = client.get("/healthz")
assert response.status_code == 200
assert response.json() == {"status": "ok"}