Switch the test run from nose to pytest
Related: rhbz#1916787
This commit is contained in:
parent
1383d375dd
commit
6c1b29b8de
@ -26,7 +26,7 @@ PidFile can also be used as a context manager or a decorator.}
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 2.2.3
|
Version: 2.2.3
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: PID file management library
|
Summary: PID file management library
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -63,7 +63,7 @@ Summary: %{summary}
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
%if %{with python3_tests}
|
%if %{with python3_tests}
|
||||||
BuildRequires: python%{python3_pkgversion}-nose >= 1.0
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||||
@ -98,7 +98,7 @@ rm -rf %{srcname}.egg-info
|
|||||||
PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests-%{python2_version} --verbose
|
PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests-%{python2_version} --verbose
|
||||||
%endif
|
%endif
|
||||||
%if %{with python3_tests}
|
%if %{with python3_tests}
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} --verbose
|
%pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
@ -118,6 +118,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} --verbose
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 17 2021 Christian Heimes <cheimes@redhat.com> - 2.2.3-11
|
||||||
|
- Switch the test run from nose to pytest, related: rhbz#1916787
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.3-10
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.3-10
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user