Utilize pytest instead of the deprecated nose test runner
This commit is contained in:
parent
f22f346b66
commit
cfd77df139
@ -11,7 +11,7 @@ Source0: https://pagure.io/releases/%{name}/%{name}-%{version}.tar.bz2
|
|||||||
Patch0: https://pagure.io/pungi/pull-request/1572.patch
|
Patch0: https://pagure.io/pungi/pull-request/1572.patch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -107,7 +107,7 @@ gzip _build/man/pungi.1
|
|||||||
rm %{buildroot}%{_bindir}/pungi
|
rm %{buildroot}%{_bindir}/pungi
|
||||||
|
|
||||||
%check
|
%check
|
||||||
nosetests-3 --exe -e test_variant_repo_rpms
|
%pytest
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING GPL
|
%license COPYING GPL
|
||||||
|
Loading…
Reference in New Issue
Block a user