Use %pytest macro for running tests

epel8
Carl George 4 years ago
parent ad880c95fd
commit 083f2ef36a

@ -60,7 +60,7 @@ rm -rf %{eggname}.egg-info
%if %{with tests} %if %{with tests}
%check %check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose %pytest --verbose
%endif %endif

Loading…
Cancel
Save