test_a_permalink_needs_the_commit_on_a_remote¶
Tests › tests/test_wiki_symbols.py
What this test is for
Why it exists
P1f: unpushed with a remote → unpublished; pushed → published; no remote → unknown.
Verifies REQ-DDB-WIKI-026 REQ-DDB-WIKI-027
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Build this wiki from the index · 4 of 400 steps
… 60 earlier steps
… 331 later steps
4 more
- thread `clew-first-build-` — `_first_build_worker` (clew/mcp_server/server.py) · 2 of 142 steps
- Build, refresh and check the index · 2 of 153 steps
- clew — `main` (clew/cli.py) · 2 of 400 steps
- `main` (clew/guard/main.py) · 2 of 357 steps
tests/test_wiki_symbols.py:74 · its file's page
What it checks (3)
assert commit_published(work, sha) is Noneassert commit_published(work, sha) is Falseassert commit_published(work, sha) is True
Where the product reaches it
build_wiki→_build_site→commit_published(flow)
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Requirements it verifies (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-026 | catalog | unknown |
| REQ-DDB-WIKI-027 | catalog | unknown |
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-001 measured
- REQ-DDB-WIKI-025 measured