Commit Graph

1 Commits

Author SHA1 Message Date
Colby Mchenry c0a38a8758 fix(resolution): a receiver-name guess is never a dispatched handler or an unnamed test double (#2175)
The receiver-word guess picked framework-dispatched handlers and test
doubles by a single shared word: django-allauth's test client.post(…)
landed on a ClientRegistrationView's post 425 times, mealie's
response.json() on a test's _FakeHTTPResponse 424 times.

- view / viewset / controller / endpoint (and view-mixin) HTTP-verb and
  CRUD-action methods are ruled out of the guess (and the ruling-out can't
  leave a lone guess behind — narrowed)
- a Fake/Mock/Stub/Dummy/Spy owner is guessed only from a file that names
  it or a receiver named like a double
- Python: `x = Model.objects.create|get|first|last|latest|earliest(…)`
  types x as Model (Django manager calls), so x.save() reaches the model

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:27:41 +00:00