test_entry_points_become_flows_without_being_declared¶
Tests › tests/test_wiki_site.py
What this test is for
Why it exists
ENTIRELY GENERATED (owner 2026-11-15: two flows for clew was not comprehensive): every entry point the repository has — a console script, a `main` outside test code, a thread's entry — gets a flow; declared flows (roots chosen in `.clew.yaml`) are added on top.
Verifies REQ-DDB-WIKI-011 REQ-DDB-WIKI-012 REQ-DDB-WIKI-013 REQ-DDB-WIKI-014 REQ-DDB-WIKI-015 REQ-DDB-WIKI-018 REQ-DDB-WIKI-020 REQ-DDB-WIKI-021 REQ-DDB-WIKI-022 REQ-DDB-WIKI-023 REQ-DDB-WIKI-025 REQ-DDB-WIKI-031 REQ-DDB-WIKI-044 REQ-DDB-WIKI-050 REQ-DDB-WIKI-052
Given
flows = site["flows.html"]cli = next(t for n, t in site.items() if n.startswith("flow-main-src-cli"))other = next(t for n, t in site.items() if n.startswith("flow-main-tools-other"))
When
- —
Then
- ✓ flows contains "flow-load"
- ✓ cli contains ">load<"
- ✓ cli does not contain ">other<"
- ✓ other contains ">other<"
- ✓ other does not contain ">load<"
- ✓ cli contains "demo"
tests/test_wiki_site.py:478 · its file's page
What it checks (4)
assert "flow-load" in flowsnot attributedassert ">load<" in cli and ">other<" not in clinot attributedassert ">other<" in other and ">load<" not in othernot attributedassert "demo" in clinot attributed
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 (15)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-011 | catalog | unknown |
| REQ-DDB-WIKI-012 | catalog | unknown |
| REQ-DDB-WIKI-013 | catalog | unknown |
| REQ-DDB-WIKI-014 | catalog | unknown |
| REQ-DDB-WIKI-015 | catalog | unknown |
| REQ-DDB-WIKI-018 | catalog | unknown |
| REQ-DDB-WIKI-020 | catalog | unknown |
| REQ-DDB-WIKI-021 | catalog | unknown |
| REQ-DDB-WIKI-022 | catalog | unknown |
| REQ-DDB-WIKI-023 | catalog | unknown |
| REQ-DDB-WIKI-025 | catalog | unknown |
| REQ-DDB-WIKI-031 | catalog | unknown |
| REQ-DDB-WIKI-044 | catalog | unknown |
| REQ-DDB-WIKI-050 | catalog | unknown |
| REQ-DDB-WIKI-052 | catalog | unknown |