forked from pool/python-pytest-helpers-namespace
Accepting request 744760 from devel:languages:python:pytest
- unrestric pytest4, use pytest-forked to separate tests OBS-URL: https://build.opensuse.org/request/show/744760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-helpers-namespace?expand=0&rev=3
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>
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest < 4
|
Requires: python-pytest < 5
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest < 4}
|
BuildRequires: %{python_module pytest < 5}
|
||||||
|
BuildRequires: %{python_module pytest-forked}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -49,7 +50,7 @@ PyTest Helpers Namespace.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m pytest
|
%pytest -ra --forked
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user