test_the_provenance_column_refuses_an_unregistered_value¶
Tests › tests/test_ast_symbols.py
What this test is for
Why it exists
The CHECK is generated from `vocabulary.SYMBOL_SOURCE`, so this pins that the ALTER actually carried it — SQLite permits a CHECK in ADD COLUMN, but silently dropping one would leave an unconstrained free-text provenance column, which is the exact defect `external_boundaries.source` was fixed for.
tests/test_ast_symbols.py:477 · its file's page
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
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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-INDEX-004 measured
- REQ-DDB-SCHEMA-012 measured