forked from pool/python-pytest-helpers-namespace
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user