test_no_declaration_writes_nothing_at_all¶
Tests › tests/test_dispatch.py
What this test is for
Why it exists
The state every repo is in today. An undeclared repo has no indirection convention clew may assume, so zero synthetic rows is a correct negative — and every existing build must keep reproducing it exactly.
Given
db = _make_db(tmp_path, _IFACE_FUNCTIONS, compounds=_IFACE_COMPOUNDS, call_edges=[(12, 10)])
When
manifest = load_dispatch_manifest(None)import_declared_dispatch_edges(db, tmp_path, manifest)
Then
- ✓ manifest.is_empty() holds
- ✓ _declared_edges(db) equals []
- ✓ _boundaries(db) equals []
tests/test_dispatch.py:735 · its file's page
What it checks (3)
assert manifest.is_empty()observesload_dispatch_manifestviamanifestassert _declared_edges(db) == []observes_declared_edgesassert _boundaries(db) == []observes_boundaries
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_no_declaration_writes_nothing_at_all→load_dispatch_manifest→import_declared_dispatch_edges→_declared_edges→_boundariesWhat 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 9 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-003 measured
- REQ-DDB-PIPE-011 inferred
- REQ-DDB-PIPE-012 inferred
- REQ-DDB-QUERY-003 inferred
- REQ-DDB-SCHEMA-003 inferred
- REQ-DDB-SCHEMA-004 measured
- REQ-DDB-SCHEMA-007 inferred
- REQ-DDB-SCHEMA-012 measured
- REQ-DDB-WIKI-054 inferred