test_an_unknown_receiver_changes_nothing

Tests › tests/test_receiver_resolution.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. 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

  1. —

tests/test_receiver_resolution.py:221 · its file's page

What it checks (2)

  1. assert not verified, f"receiver {receiver!r} verified nothing" not attributed
  2. assert 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_receiver

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_an_unknown_receiver_changes_nothing · 2 checks_narrow_by_receiver_one_classallREQ-DDB-WIKI-054 · inferred
Also reaches 1 requirement

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