Issues
- 3
.context_manager() only works for object mocking
#462 opened by eugenenelou - 1
[Question]: different result when using`new` parameter in unittest.patch.object and mocker.patch.object
#452 opened by Provinm - 3
Spying on pydantic objects
#363 opened by alex-linx - 2
- 1
- 1
- 1
- 7
- 0
- 2
Record multiple calls to spy
#378 opened by acroz - 1
Failing tests for python 3.12
#405 opened by blotero - 1
- 1
- 3
Behavior of spy on class attributes
#397 opened by santicardona - 2
- 3
Not sure why this is not working
#386 opened by jiz17043 - 1
- 2
How to patch return_value attribute?
#380 opened by xmalter - 7
- 2
- 1
async_stub doesn't need to be awaited
#374 opened by AstraLuma - 1
mocker.stub() is a coroutine function
#375 opened by AstraLuma - 4
- 2
Changelog broken
#368 opened by sr-verde - 3
missing 1 required positional argument: 'mocker'
#352 opened by joshuaspear - 1
sdist is missing tox.ini
#361 opened by mtelka - 3
assert_called_once_with calls __eq__ multiple times
#353 opened by akotrei - 3
Stop Iteration Error
#287 opened by Lucasmiguelmac - 3
mocker.patch does not change return value
#349 opened by louis030195 - 1
6 tests fail
#340 opened by yurivict - 2
- 2
- 1
- 3
- 1
GitHub Admin: Add docs to repo links
#327 opened by tony - 1
Spying on `__call__` doesn't work
#325 opened by hsorsky - 1
- 4
Type hints don't get propagated to spy
#316 opened by adriangonz - 1
start, stop and stopall
#315 opened by LeonardoGentile - 1
- 1
- 1
- 11
3.7.0: pytest is failing in `tests/test_pytest_mock.py::test_standalone_mock` unit
#276 opened by kloczek - 4
can't capture stderr from external process
#295 opened by ynikitenko - 3
- 3
- 3
Format of message "Use -v to get..." has changed in pytest 7.1.0 breaking some pytest-mock tests
#293 opened by juliangilbey - 3
Combining mocker.spy and pytest.MonkeyPatch.context() leaks the patch externally
#289 opened by kandersolar - 1
Am I using stub properly for testing with http call?
#281 opened by Taewa - 1
spy on frozen dataclass
#280 opened by jennydaman