From d9d3af4a12c1a1feb0b44691fe992c7693e84fec Mon Sep 17 00:00:00 2001 From: edgar Date: Thu, 3 Dec 2026 23:47:36 -0600 Subject: [PATCH] =?UTF-8?q?Paridad:=20el=20tratamiento=20del=20mismo=20d?= =?UTF-8?q?=C3=ADa=20cuenta=20como=200=20d=C3=ADas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_cacu.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_cacu.py b/tests/test_cacu.py index 7a7ad96..794b14f 100644 --- a/tests/test_cacu.py +++ b/tests/test_cacu.py @@ -138,8 +138,9 @@ def test_cacu_from_the_hospital_to_indicators_and_risks(api, platform, tmp_path) old = {k: v for k, v in a[3].items() if k not in NEW_STRATA} if name == "CACU_DIAS_DIAGNOSTICO_TRATAMIENTO": # Declared difference: it starts at the diagnosis after the biopsy report, so - # it never counts more patients than the current platform's. - assert all(a[0][k] <= b[0][k] for k in b[0]), where + # it never has more patients; a treatment that same day counts, as 0 days. + assert a[0]["initial-population"] <= b[0]["initial-population"], where + assert a[0]["measure-observation"] <= a[0]["initial-population"], where continue if name == "CACU_DIAS_TOMA_DIAGNOSTICO": # Declared difference: only a diagnosis before her first colposcopy counts, so