CaMa: the follow-up row carries a provisional status, priority and mammogram-to-diagnosis days; the survival menu names the patient's own scenarios

This commit is contained in:
Roberto Treviño Cervantes
2026-11-22 21:38:43 -06:00
parent 88c9694a46
commit f7f8af8b4c
4 changed files with 62 additions and 9 deletions
+1
View File
@@ -121,6 +121,7 @@ def test_the_menu_offers_the_scenarios_with_a_summary_row_and_enough_patients(li
menu = live_client.get("/cama/modelo/escenarios?paciente=7").get_json()
assert menu["escenarios"] == [{"nombre": "< 45 años", "n": 100}] and menu["predeterminado"] == "< 45 años"
assert menu["de_la_paciente"] == [{"nombre": "< 45 años", "n": 100}]
assert menu["modelo"]["version"] == "3"
assert live_client.get("/cama/modelo/escenarios?paciente=500").status_code == 422