Accepting request 674447 from devel:languages:python:pytest

- Update to 1.10.1:
  * Fix broken links and update README. Also the code is now formatted using black.

OBS-URL: https://build.opensuse.org/request/show/674447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2019-02-24 16:05:20 +00:00 committed by Git OBS Bridge
parent 48aacc1496
commit e78171b7d2
4 changed files with 13 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 13 09:46:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.10.1:
* Fix broken links and update README. Also the code is now formatted using black.
-------------------------------------------------------------------
Sun May 6 19:35:00 UTC 2018 - arun@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-mock
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-mock
Version: 1.10.0
Version: 1.10.1
Release: 0
Summary: Thin-wrapper around the mock package for easier use with pytest
License: MIT
@ -39,8 +39,6 @@ BuildRequires: %{oldpython}-mock
%endif
%ifpython2
Requires: %{oldpython}-mock
%else
Recommends: python-mock
%endif
%python_subpackages
@ -61,8 +59,8 @@ of a test
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} test_pytest_mock.py
%python_expand rm -rf %{buildroot}%{$python_sitelib}/__pycache__
%files %{python_files}
%doc CHANGELOG.rst