test_an_unknown_delivery_is_refused_by_name¶
Tests › tests/test_wiki_comments.py
What this test is for
Why it exists
A closed vocabulary; a string where a list belongs is refused (F5).
Verifies REQ-DDB-WIKI-054
Given
_c, problems = _config(tmp_path, " comments:\n deliver: [email]\n")_c, problems = _config(tmp_path, " comments:\n deliver: hook\n")_c, problems = _config(tmp_path, " comments:\n via: [hook]\n")
When
- —
Then
- ✓ any("email" in p and "hook" in p and "channel" in p for p in problems) holds
- ✓ any("list" in p for p in problems) holds
- ✓ any("via" in p for p in problems) holds
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 · 38 of 400 steps
… 6 steps between
… 343 later steps
tests/test_wiki_comments.py:149 · its file's page
What it checks (3)
assert any("email" in p and "hook" in p and "channel" in p for p in problems), problemsnot attributedassert any("list" in p for p in problems), problemsnot attributedassert any("via" in p for p in problems), problemsnot attributed
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
test_an_unknown_delivery_is_refused_by_name→_configWhat 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 (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-WIKI-054 | catalog | 1 of 18: all |
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-GUARD-012 measured