Accepting request 758777 from home:jayvdb:branches:devel:languages:python

- Re-activate test suite
- Update to v2.0.2
  * Fix compatibility with pytest 4.6+

OBS-URL: https://build.opensuse.org/request/show/758777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-error-for-skips?expand=0&rev=7
This commit is contained in:
John Vandenberg
2019-12-22 04:37:38 +00:00
committed by Git OBS Bridge
parent 069d1f2e75
commit ad83be77cb
4 changed files with 17 additions and 13 deletions

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Dec 22 02:47:21 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Re-activate test suite
- Update to v2.0.2
* Fix compatibility with pytest 4.6+
-------------------------------------------------------------------
Thu Feb 14 12:40:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -18,21 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-error-for-skips
Version: 1.0.0
Version: 2.0.2
Release: 0
Summary: Pytest plugin to treat skipped tests a test failure
License: MIT
Group: Development/Languages/Python
URL: https://github.com/janschulz/pytest-error-for-skips
Source: https://github.com/jankatins/pytest-error-for-skips/archive/v%{version}.tar.gz
URL: https://github.com/jankatins/pytest-error-for-skips
Source: https://github.com/jankatins/pytest-error-for-skips/archive/%{version}.tar.gz#/pytest-error-for-skips-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.9.2
Requires: python-pytest >= 4.6
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.9.2}
BuildRequires: %{python_module pytest >= 4.6}
# /SECTION
%python_subpackages
@@ -45,7 +44,6 @@ missing dependencies.
%prep
%setup -q -n pytest-error-for-skips-%{version}
dos2unix README.rst
%build
%python_build
@@ -55,11 +53,10 @@ dos2unix README.rst
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# The tests are broken and upstream is dead since 2016
#%%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%pytest
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%{python_sitelib}/*

View File

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