Yes, `call` is supported, alongside other names from `unittest.mock`. In
some cases, like with `spy`, they not only mirror but also extend the
existing functionality. Ref:
https://pytest-mock.readthedocs.io/en/latest/usage.html
On 2025/07/10 14:47:30 Tzu-ping Chung wrote:
> Does pytest-mock have a
One tiny comment regarding TP's suggestion - IMHO it's better to avoid
`unittest.mock` in favor of the equivalent `mocker` fixture provided by
`pytest-mock`.
On 2025/07/10 06:30:22 Tzu-ping Chung wrote:
> Personally I dislike things like assert_called_once_with etc. since
they are easy to miss