forked from pool/python-pytest-mock
- 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:
committed by
Git OBS Bridge
parent
3bf39040c1
commit
c1fdc5c40a
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:96a0cebc66e09930be2a15b03333d90b59584d3fb011924f81c14b50ee0afbba
|
|
||||||
size 23236
|
|
||||||
3
pytest-mock-2.0.0.tar.gz
Normal file
3
pytest-mock-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b35eb281e93aafed138db25c8772b95d3756108b601947f89af503f8c629413f
|
||||||
|
size 24665
|
||||||
@@ -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>
|
Wed Dec 4 12:04:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-mock
|
# spec file for package python-pytest-mock
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-pytest-mock
|
Name: python-pytest-mock
|
||||||
Version: 1.12.1
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Thin-wrapper around the mock package for easier use with pytest
|
Summary: Thin-wrapper around the mock package for easier use with pytest
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user