test_a_payload_without_neighbours_is_untouched¶
Tests › tests/test_compact_wire.py
What this test is for
Why it exists
No callers/callees: nothing added, nothing removed.
Given
payload = {"subject": "v", "sites": [{"file": "a.c", "line": 1}]}
When
compact_neighbours(copy.deepcopy(payload))
Then
- ✓ compact_neighbours(copy.deepcopy(payload)) equals payload
tests/test_compact_wire.py:126 · its file's page
What it checks (1)
assert compact_neighbours(copy.deepcopy(payload)) == payloadobservescompact_neighbours
Where the product reaches it
dossier→_wire_shape→compact_neighbours(flow)
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-QUERY-014 measured
- REQ-DDB-WIKI-054 inferred