From b87a3bf9fea46780c9ca294c94904f4ec6cf6b35c28e96938e868e511d048b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Nov 2019 14:02:30 +0000 Subject: [PATCH] - 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 --- python-pytest-helpers-namespace.changes | 5 +++++ python-pytest-helpers-namespace.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-pytest-helpers-namespace.changes b/python-pytest-helpers-namespace.changes index e84fd45..090791b 100644 --- a/python-pytest-helpers-namespace.changes +++ b/python-pytest-helpers-namespace.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 14:01:47 UTC 2019 - Ondřej Súkup + +- unrestric pytest4, use pytest-forked to separate tests + ------------------------------------------------------------------- Thu Aug 22 08:56:49 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-helpers-namespace.spec b/python-pytest-helpers-namespace.spec index d6e9849..7908e13 100644 --- a/python-pytest-helpers-namespace.spec +++ b/python-pytest-helpers-namespace.spec @@ -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