Files
project-kino/runtime-current/kino/app-src/backend/tests/test_health.py

8 lines
177 B
Python

from fastapi.testclient import TestClient
from app.main import app
def test_health():
client = TestClient(app)
assert client.get('/health').json() == {'status': 'ok'}