Models are listed with their titles
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ def test_cacu_from_the_hospital_to_indicators_and_risks(api, platform, tmp_path)
|
||||
# Models: one training run gives a version of each, with its two generated reports;
|
||||
# none is promoted without the clinical validation.
|
||||
wait_for(api, ok(api.post("/models/cacu/train", json={"as_of": REFERENCE_CUTOFF}))["run_id"])
|
||||
names = ok(api.get("/models/cacu"))
|
||||
names = [m["name"] for m in ok(api.get("/models/cacu"))]
|
||||
assert set(names) == set(current)
|
||||
for name in names:
|
||||
(version,) = ok(api.get(f"/models/cacu/{name}/versions"))
|
||||
|
||||
Reference in New Issue
Block a user