Models are listed with their titles

This commit is contained in:
Roberto Treviño
2026-11-29 12:39:00 -06:00
parent 4ef38c18e2
commit c9b60b190b
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ def test_tea_from_the_hospital_to_indicators(api, platform, tmp_path):
group = platform_eeg(platform).ruled_out(date.today())
assert len(group) >= 5, "the hospital needs children with TEA ruled out and a good EEG"
wait_for(api, ok(api.post("/models/tea/train", json={}))["run_id"], 3600)
names = ok(api.get("/models/tea"))
names = [m["name"] for m in ok(api.get("/models/tea"))]
assert set(names) >= set(curves.SCENARIOS)
files = {"file": ("validacion.pdf", b"%PDF-1.4 clinical validation", "application/pdf")}
for name in curves.SCENARIOS: