From 55da6cd28b621ecd207390ca5a872365cfeb82e1 Mon Sep 17 00:00:00 2001 From: alberto Date: Tue, 1 Dec 2026 17:56:33 -0600 Subject: [PATCH] The risk check reads at most 200 patients --- tests/test_webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_webapp.py b/tests/test_webapp.py index 3426224..e97e590 100644 --- a/tests/test_webapp.py +++ b/tests/test_webapp.py @@ -91,7 +91,7 @@ def _train_tea(api: httpx.Client) -> None: _wait(api, _ok(api.post("/models/tea/score"))["run_id"]) risks = _ok( api.get( - "/tea/fhir/Patient", params={"_revinclude": "RiskAssessment:subject", "_count": 500} + "/tea/fhir/Patient", params={"_revinclude": "RiskAssessment:subject", "_count": 200} ) ) assert any(e["resource"]["resourceType"] == "RiskAssessment" for e in risks["entry"])