Add BR: python3-pytest and really use pytest
This commit is contained in:
parent
9bf018fd89
commit
5b9bf2c912
1 changed files with 3 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ BuildRequires: python2-pytest
|
|||
%if %{with python3}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
|
@ -118,10 +119,10 @@ popd
|
|||
|
||||
%check
|
||||
%if %{with python2}
|
||||
%{__python2} setup.py test
|
||||
%{__python2} -m pytest
|
||||
%endif
|
||||
%if %{with python3}
|
||||
#{__python3} setup.py test
|
||||
%{__python3} -m pytest
|
||||
%endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue