test(conventions): baseline asserts the universal hygiene block rule, not a placement rule

The baseline-constraint and conventions-map integration tests asserted 'no models in routers' — the old UNIVERSAL block default. Now that placement rules are scan-derived (only seeded where the target module exists), an empty-scan test project carries no_models_in_routers no longer; the universal block rule is no_lint_suppressions. Updated the five assertions accordingly; behaviour (baseline attaches, isn't suppressed, is idempotent) is unchanged.
This commit is contained in:
Renn F
2026-06-22 15:19:50 +02:00
parent 3baac6dcd8
commit 2bbd1c2e70
3 changed files with 5 additions and 5 deletions
@@ -81,7 +81,7 @@ async def test_get_conventions_returns_map_and_health(client: AsyncClient) -> No
resp = await client.get(f"/api/projects/{project_id}/conventions", headers=_HDR)
assert resp.status_code == HTTPStatus.OK
body = resp.json()
assert body["standard"]["rules"]["no_models_in_routers"]["level"] == "block"
assert body["standard"]["rules"]["no_lint_suppressions"]["level"] == "block"
assert body["health"]["status"] in {"missing", "unknown", "ok", "degraded"}