From 0c268bdcab452420231326ade3cd4e858c5e0378 Mon Sep 17 00:00:00 2001 From: Brett Heap <1513478+brettheap@users.noreply.github.com> Date: Wed, 7 Oct 2026 09:46:29 +0000 Subject: [PATCH] T096 follow-on: the validator-root comment names the openxdox package's contracts/ (Copilot 4201833198) The consumer-validator test's docstring said an install's validator tree carries no contracts/. It does: the packaged validator sits at openxdox/contracts/validate-ideation-dashboard-contracts.py, its ROOT is the installed openxdox package, and its contracts/ holds the three packaged copies, each held to copies.yaml's digest. Only a source tree has no contracts/ of its own, and there the three come from the installed distribution's packaged copies, which the test's last check asserts. The docstring now says so. Docstring only; no behaviour changes. Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 --- tests/test_validate_ideation_dashboard_contracts.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/test_validate_ideation_dashboard_contracts.py b/tests/test_validate_ideation_dashboard_contracts.py index 6e34c37..5589c87 100644 --- a/tests/test_validate_ideation_dashboard_contracts.py +++ b/tests/test_validate_ideation_dashboard_contracts.py @@ -392,9 +392,13 @@ def test_every_schema_the_consumer_validates_is_on_disk(): run is composed that is this module's `SCRIPT` too. In a lone checkout it is not, because there `SCRIPT` is looked for at the carve's `parents[2]`, above the checkout (V2-10). Run from an install, it is the packaged - validator. In a lone install its tree carries no `contracts/`, so the three - come from the distribution's packaged copies, each held to `copies.yaml`'s - digest. This module's fixtures are not used: in a lone checkout they read + validator, `openxdox/contracts/validate-ideation-dashboard-contracts.py`, + whose `ROOT` is the installed `openxdox` package: its `contracts/` is + there, and the three are the packaged copies in it, each held to + `copies.yaml`'s digest. A source tree carries no `contracts/` of its own, + so there the three come from the installed distribution's packaged copies, + held to the same digests, which is what the last check below asserts. This + module's fixtures are not used: in a lone checkout they read openxFactory's tree, which is why the file is declared under `openxfactory-contracts`, and F7.1 runs this case by node id.""" from openxdox import contracts, snapshot