AntiPattern

Async Mock Await-Tracking

async-mock-await-tracking

A recurring async-testing motif where mocked dependencies fail to record awaited invocations, leading to misleading assertions like call_count==0; the shape is resolved by using AsyncMock and checking await_count instead.