test_the_index_scope_spelling_cannot_drift

Tests › tests/test_declaration.py

passed Passed in the packaged run.

What this test is for

Why it exists

`index_scope` is owned by `scope.py` but repeated as a literal in `declaration.py`'s allow-list, because neither module imports the other.

Verifies REQ-DDB-CONFIG-001

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ KNOWN_SECTIONS contains INDEX_SCOPE_SECTION

tests/test_declaration.py:260 · its file's page

What it checks (1)

  1. assert INDEX_SCOPE_SECTION 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 (1)

requirementlinked byimplementers exercised
REQ-DDB-CONFIG-001catalogunknown