test_a_definitive_empty_is_withdrawn_on_a_partial_index

Tests › tests/test_partial_disclosure.py

passed Passed in the packaged run.

What this test is for

Why it exists

A definitive empty claim is withdrawn on a partial index.

Given

  1. payload = {"note": _DEFINITIVE_NOTE, "found": False}
→

When

  1. _withdraw_definitive(payload, [{"axis": "partial", "message": "x"}])
  2. note = payload["note"].lower()
→

Then

  1. ✓ note does not contain "this is a definitive"
  2. ✓ note contains "c/c++"

tests/test_partial_disclosure.py:107 · its file's page

What it checks (2)

  1. assert "this is a definitive" not in note, f"the definitive claim survived: {payload['note']}" not attributed
  2. assert "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

test_a_definitive_empty_is_withdrawn_on_a_partial_index→_withdraw_definitive

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.

test_a_definitive_empty_is_withdrawn_on_a_partial_index · 2 checks_withdraw_definitiveREQ-DDB-MCP-004 · measured
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.