feat: bootstrap backend MVP and architecture docs
This commit is contained in:
10
backend/tests/test_healthz.py
Normal file
10
backend/tests/test_healthz.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.main import app
|
||||
|
||||
|
||||
def test_healthz() -> None:
|
||||
client = TestClient(app)
|
||||
resp = client.get("/healthz")
|
||||
assert resp.status_code == 200
|
||||
assert resp.json()["status"] == "ok"
|
||||
Reference in New Issue
Block a user