Utilize pytest instead of the deprecated nose test runner

Closes: #54
Closes: #58
This commit is contained in:
Charalampos Stratakis 2021-12-08 19:18:15 +01:00 committed by Miroslav Suchý
parent 042f4eb041
commit 11d258a0a4

View file

@ -50,7 +50,7 @@ Requires: python3-requests
Recommends: python3-grokmirror Recommends: python3-grokmirror
Suggests: python3-fedmsg Suggests: python3-fedmsg
Suggests: fedora-messaging Suggests: fedora-messaging
BuildRequires: python3-nose BuildRequires: python3-pytest
BuildRequires: python3-parameterized BuildRequires: python3-parameterized
BuildRequires: python3-requests BuildRequires: python3-requests
@ -118,7 +118,7 @@ exit 0
%if 0%{?rhel} && 0%{?rhel} < 8 %if 0%{?rhel} && 0%{?rhel} < 8
nosetests . nosetests .
%else %else
nosetests-3 . pytest
%endif %endif