(attr, /, *args, **kwargs)
| 289 | # to a function and then the corresponding mock helper function |
| 290 | # is called when the helper is accessed similar to _setup_func. |
| 291 | def wrapper(attr, /, *args, **kwargs): |
| 292 | return getattr(mock.mock, attr)(*args, **kwargs) |
| 293 | |
| 294 | for attribute in ('assert_awaited', |
| 295 | 'assert_awaited_once', |