test_shared_key_document_is_none_when_nothing_contributes¶
Tests › tests/test_dispatch.py
passed Passed in the packaged run.
What this test is for
Why it exists
A manifest declaring only interfaces or tables must leave the shared-key stage's inputs — and therefore its cache key — completely untouched.
Given
- —
When
only_interfaces = load_dispatch_manifest({"interfaces": [{"interface": "I", "boundary": True}]})shared_key_document(only_interfaces)shared_key_document(empty_manifest())empty_manifest()
Then
- ✓ shared_key_document(only_interfaces) is None
- ✓ shared_key_document(empty_manifest()) is None
tests/test_dispatch.py:626 · its file's page
What it checks (2)
assert shared_key_document(only_interfaces) is Noneobservesshared_key_documentassert shared_key_document(empty_manifest()) is Noneobservesshared_key_document
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_shared_key_document_is_none_when_nothing_contributes→load_dispatch_manifest→shared_key_document→empty_manifestWhat 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-SCHEMA-004 measured
- REQ-DDB-SCHEMA-012 measured