test_an_unknown_receiver_changes_nothing¶
Tests › tests/test_receiver_resolution.py
What this test is for
Why it exists
RULE 4's other half. A receiver that is a local, a parameter, an `auto`, or simply not indexed must return the input unchanged AND `verified=False`, so the caller falls through to the existing refusal. Reporting a narrowing here is what let the untouched candidate list be emitted as fuzzy — 11,390 edges in one build.
Given
- —
When
for receiver in ("", "not_indexed", "local_var"): survivors, verified = _narrow_by_receiver(receiver, 1, ALL, {}, SCOPE_OF, ARGC_OF) assert not verified, f"receiver {receiver!r} verified nothing" assert survivors == ALL, "candidates must pass through untouched"
Then
- —
tests/test_receiver_resolution.py:221 · its file's page
What it checks (2)
assert not verified, f"receiver {receiver!r} verified nothing"not attributedassert survivors == ALL, "candidates must pass through untouched"not attributed
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_an_unknown_receiver_changes_nothing→_narrow_by_receiverWhat 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-WIKI-054 inferred