add import audit trail, live indicator recompute, reportes endpoints; production hardening
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user