2020-05-16 18:30:16 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
pytest from versioned deps.
|
2020-01-27 14:05:07 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 2.0.0
2.0.0:
Breaking Changes
mocker.spy attributes for tracking returned values and raised exceptions of its \
spied functions are now called spy_return and spy_exception, instead of reusing \
the existing MagicMock attributes return_value and side_effect.
Version 1.13 introduced a serious regression: after a spied function using \
mocker.spy raises an exception, further calls to the spy will not call the spied \
function, always raising the first exception instead: assigning to side_effect \
causes unittest.mock to behave this way.
The deprecated mock alias to the mocker fixture has finally been removed.
|
2019-12-11 11:32:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.13.0
1.13.0:
* The object returned by ``mocker.spy`` now also tracks any side effect
of the spied method/function.
|
2019-11-21 21:35:28 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.12.1
1.12.1:
* Fix error if ``mocker.patch`` is used in code where the source file
is not available, for example stale ``.pyc`` files
|
2019-11-20 11:10:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.12.0
1.12.0:
Now all patch functions also raise a ValueError when used as a context-manager.
|
2019-10-24 14:53:48 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.11.2
1.11.2:
* The *pytest introspection follows* message is no longer shown
if there is no pytest introspection.
* ``mocker`` now raises a ``TypeError`` when used as a context-manager.
|
2019-10-16 18:37:52 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-mock: updated to 1.11.1
1.11.1
* Fix ``mocker.spy`` on Python 2 when used on non-function objects
which implement ``__call__``.
|
2019-10-02 12:19:51 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.11.0
1.11.0
* The object returned by ``mocker.spy`` now also tracks the return value
of the spied method/function.
|
2019-04-24 17:04:21 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.10.4
1.10.4
* Fix plugin when 'terminal' plugin is disabled
|
2019-04-02 10:50:58 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-mock: updated to 1.10.3
1.10.3
* Fix test suite in Python 3.8.
|