- unrestric pytest4, use pytest-forked to separate tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-helpers-namespace?expand=0&rev=5
This commit is contained in:
2019-11-01 14:02:30 +00:00
committed by Git OBS Bridge
parent 50a3bb6b53
commit b87a3bf9fe
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 1 14:01:47 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- unrestric pytest4, use pytest-forked to separate tests
-------------------------------------------------------------------
Thu Aug 22 08:56:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -28,10 +28,11 @@ Source: https://github.com/saltstack/pytest-helpers-namespace/archive/v2
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest < 4
Requires: python-pytest < 5
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest < 4}
BuildRequires: %{python_module pytest < 5}
BuildRequires: %{python_module pytest-forked}
# /SECTION
%python_subpackages
@@ -49,7 +50,7 @@ PyTest Helpers Namespace.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest
%pytest -ra --forked
%files %{python_files}
%doc README.rst