test(cacu): cover the two times to treatment

The CaCu catalog holds nine measures. A fixture adds H-004's colposcopy and treatment on top of the shared data, and a
test pins the days of both intervals with a 60-day horizon.
This commit is contained in:
2026-11-21 19:35:44 -06:00
parent 0a8e3577a1
commit 9461dfbd20
6 changed files with 53 additions and 9 deletions
+2 -2
View File
@@ -80,8 +80,8 @@ def test_the_list_names_what_is_answered_on_request(client):
listed = {m["id"] for m in client.get("/cacu/indicadores").get_json()}
assert listed == {IND1.split("/")[1], EU13.split("/")[1], EU7.split("/")[1], "CACU_EU_TIEMPO_REPORTE",
"CACU_DIAS_TOMA_DIAGNOSTICO", "CACU_CONFIRMACION_CITOLOGIA",
"CACU_RIESGO_BANDA"}
"CACU_DIAS_TOMA_DIAGNOSTICO", "CACU_DIAS_TOMA_TRATAMIENTO", "CACU_DIAS_DIAGNOSTICO_TRATAMIENTO",
"CACU_CONFIRMACION_CITOLOGIA", "CACU_RIESGO_BANDA"}
def test_a_duration_comes_as_a_report_with_its_median_and_quartiles(client):