- Update to 2.0.0:

* 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.
  * The deprecated mock alias to the mocker fixture has finally
    been removed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=23
This commit is contained in:
Tomáš Chvátal
2020-01-06 13:13:41 +00:00
committed by Git OBS Bridge
parent 3bf39040c1
commit c1fdc5c40a
4 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jan 6 13:11:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.0.0:
* 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.
* The deprecated mock alias to the mocker fixture has finally
been removed.
-------------------------------------------------------------------
Wed Dec 4 12:04:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>