diff --git a/tests/test_tea.py b/tests/test_tea.py index 37ad6a7..679622d 100644 --- a/tests/test_tea.py +++ b/tests/test_tea.py @@ -207,9 +207,6 @@ def test_tea_from_the_hospital_to_indicators(api, platform, tmp_path): value = theirs["met_valor"] assert ours.get(key) == (None if value is None else pytest.approx(value, rel=1e-12)), key - # Indicators, from the platform's own EEG verdicts. - indicators(api) - # The age curves: one training run gives a version of each, from the reference cohort; # promoted after their clinical validation, they score every analysed EEG as the # current platform's curves do. @@ -230,6 +227,10 @@ def test_tea_from_the_hospital_to_indicators(api, platform, tmp_path): assert scored[key] == [None if v is None else pytest.approx(v, rel=1e-9) for v in expected], key # fmt: skip + # Indicators, from the platform's own EEG verdicts and, for M30, the alterations the + # promoted curves found (as the current platform's were captured: curves trained). + indicators(api) + # The EEG pages: every study with its verdict, and a valid one's metrics with their scores. listed = ok(api.get("/tea/eegs")) summary = json.loads((REFERENCE / "pages.json").read_text())["/governance/tea/eeg/summary"]