add import audit trail, live indicator recompute, reportes endpoints; production hardening

This commit is contained in:
Roberto Treviño Cervantes
2026-10-30 11:19:30 -06:00
parent 168edb30f5
commit 2b2c290f58
74 changed files with 4095 additions and 1782 deletions
-8
View File
@@ -120,14 +120,6 @@ def test_figura_desconocida_o_sin_reporte_da_404(client, indicador, figura, quer
assert "error" in response.get_json()
def test_paciente_por_id_entero(client):
response = client.get("/tea/pacientes/1")
assert response.status_code == 200
assert response.get_json()["pac_id_hospital"] == "T-01"
assert client.get("/tea/pacientes/abc").status_code == 404
def test_un_keyerror_interno_no_se_vuelve_404(client, monkeypatch):
from webapi import indicadores