BuyingAgent/tests/unit/test_health_live.py
Lars 3ac42645ef
All checks were successful
Deploy Development / deploy (push) Successful in 1m6s
Test Suite / smoke-dev (push) Successful in 0s
Richte Develop-Build und Main-Deploy analog zur Jinkendo-Familie ein.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 10:47:48 +02:00

12 lines
284 B
Python

from fastapi.testclient import TestClient
from app.main import app
client = TestClient(app)
def test_health_live_does_not_touch_the_database() -> None:
response = client.get("/health/live")
assert response.status_code == 200
assert response.json() == {"status": "ok"}