Change check stage to use pytest
This commit is contained in:
parent
9a6fd12aac
commit
a6c7cc1428
@ -22,6 +22,7 @@ very little effort.
|
|||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
BuildRequires: %{py3_dist blinker}
|
BuildRequires: %{py3_dist blinker}
|
||||||
BuildRequires: python3-jwt
|
BuildRequires: python3-jwt
|
||||||
@ -49,7 +50,7 @@ very little effort.
|
|||||||
%pyproject_save_files oauthlib
|
%pyproject_save_files oauthlib
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{pytest}
|
||||||
|
|
||||||
%files -n python3-oauthlib -f %{pyproject_files}
|
%files -n python3-oauthlib -f %{pyproject_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user