You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/copier-template/tests/test_example.py.jinja

11 lines
217 B
Django/Jinja

from fastapi.testclient import TestClient
from app import app
def test_health():
response = TestClient(app).get("/health")
assert response.status_code == 200
assert response.json() == {"status": "ok"}