- Update to 3.1.0:

* Python 2.7 and 3.4 are no longer supported
  * New mocker fixtures added that allow using mocking functionality
    in other scopes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal 2020-04-27 10:21:09 +00:00 committed by Git OBS Bridge
parent c1fdc5c40a
commit 8715cb0d4a
4 changed files with 13 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b35eb281e93aafed138db25c8772b95d3756108b601947f89af503f8c629413f
size 24665

3
pytest-mock-3.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce610831cedeff5331f4e2fc453a5dd65384303f680ab34bee2c6533855b431c
size 25003

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 27 10:19:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.0:
* Python 2.7 and 3.4 are no longer supported
* New mocker fixtures added that allow using mocking functionality
in other scopes
-------------------------------------------------------------------
Mon Jan 6 13:11:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -16,11 +16,10 @@
#
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%define skip_python2 1
Name: python-pytest-mock
Version: 2.0.0
Version: 3.1.0
Release: 0
Summary: Thin-wrapper around the mock package for easier use with pytest
License: MIT
@ -33,12 +32,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest
BuildArch: noarch
%if %{with python2}
BuildRequires: %{oldpython}-mock
%endif
%ifpython2
Requires: %{oldpython}-mock
%endif
%python_subpackages
%description