Accepting request 599637 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/599637 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=6
This commit is contained in:
parent
1b2e7377ba
commit
dd3e42c536
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b879dff61e31fcd4727c227c182f15f222a155293cc64ed5a02d55e0020cf949
|
||||
size 20176
|
3
pytest-mock-1.9.0.tar.gz
Normal file
3
pytest-mock-1.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:173fd47c872d105368aeb22dca1415db9f269c0ee1c3832c3aebadd3e80f6133
|
||||
size 20707
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 21 16:39:10 UTC 2018 - arun@gmx.de
|
||||
|
||||
- update to version 1.9.0:
|
||||
* Add support for the recently added assert_called_once method in
|
||||
Python 3.6 and mock-2.0. Thanks @rouge8 for the PR (#113).
|
||||
|
||||
- changes from version 1.8.0:
|
||||
* Add aliases for NonCallableMock and create_autospec to
|
||||
mocker. Thanks @mlhamel for the PR (#111).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 3 10:13:26 UTC 2018 - mimi.vx@gmail.com
|
||||
|
||||
|
@ -18,16 +18,15 @@
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname pytest-mock
|
||||
%bcond_without python2
|
||||
Name: python-%{modname}
|
||||
Version: 1.7.1
|
||||
Name: python-pytest-mock
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: Thin-wrapper around the mock package for easier use with pytest
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/pytest-dev/%{modname}
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/%{modname}-%{version}.tar.gz
|
||||
URL: https://github.com/pytest-dev/pytest-mock
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 36}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@ -52,7 +51,7 @@ but with the benefit of not having to worry about undoing patches at the end
|
||||
of a test
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n pytest-mock-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user