test_a_definitive_empty_is_withdrawn_on_a_partial_index¶
Tests › tests/test_partial_disclosure.py
What this test is for
Why it exists
A definitive empty claim is withdrawn on a partial index.
Given
payload = {"note": _DEFINITIVE_NOTE, "found": False}
When
_withdraw_definitive(payload, [{"axis": "partial", "message": "x"}])note = payload["note"].lower()
Then
- ✓ note does not contain "this is a definitive"
- ✓ note contains "c/c++"
tests/test_partial_disclosure.py:107 · its file's page
What it checks (2)
assert "this is a definitive" not in note, f"the definitive claim survived: {payload['note']}"not attributedassert "c/c++" in note, f"the withdrawal does not say which layer is missing: {payload['note']}"not attributed
Where the product reaches it
dossier→_answered→_withdraw_definitive(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 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-MCP-004 measured