test_the_section_is_a_known_declaration_section¶
Tests › tests/test_preprocessor.py
What this test is for
Why it exists
`declaration.KNOWN_SECTIONS` spells the name as its own literal, because `preprocessor.py` and `declaration.py` deliberately do not import each other. This pins the two spellings together, exactly as the existing `index_scope` test does — an unregistered section is REFUSED, so a drift here would make every declaration carrying it fail to load.
Verifies REQ-DDB-CONFIG-004 REQ-DDB-PIPE-014
Given
- —
When
- —
Then
- ✓ KNOWN_SECTIONS contains SECTION_PREPROCESSOR
tests/test_preprocessor.py:661 · its file's page
What it checks (1)
assert SECTION_PREPROCESSOR in KNOWN_SECTIONSnot 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 (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-CONFIG-004 | catalog | unknown |
| REQ-DDB-PIPE-014 | catalog | unknown |