test_the_section_is_a_known_declaration_section

Tests › tests/test_preprocessor.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. —
→

Then

  1. ✓ KNOWN_SECTIONS contains SECTION_PREPROCESSOR

tests/test_preprocessor.py:661 · its file's page

What it checks (1)

  1. assert SECTION_PREPROCESSOR in KNOWN_SECTIONS not 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)

requirementlinked byimplementers exercised
REQ-DDB-CONFIG-004catalogunknown
REQ-DDB-PIPE-014catalogunknown