Ondřej Súkup 2019-07-18 08:47:40 +00:00 committed by Git OBS Bridge
parent 94469932ad
commit 447d3fdc6b
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 18 08:47:00 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- use pytest4 to run testsuite
-------------------------------------------------------------------
Mon Apr 1 08:31:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -27,10 +27,11 @@ URL: https://github.com/pytest-dev/execnet
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
BuildRequires: %{python_module apipkg}
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest4}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: procps
BuildRequires: python-rpm-macros
Requires: python-apipkg
BuildArch: noarch
@ -61,7 +62,7 @@ sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=build/lib py.test-%{$python_version} -r s -k"-test_gateway" testing
%pytest -r s -k"not test_gateway" testing
%files %{python_files}
%license LICENSE