Accepting request 895707 from home:pgajdos:python

setup.py test replacement

OBS-URL: https://build.opensuse.org/request/show/895707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=54
This commit is contained in:
2021-05-27 09:57:16 +00:00
committed by Git OBS Bridge
parent f836ee8806
commit 54ee3ced06
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 27 06:49:51 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest macro
-------------------------------------------------------------------
Wed May 5 08:23:44 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -82,7 +82,7 @@ sed -ie "/^pep8$/d" test-requirements.txt
%python_clone -a %{buildroot}%{_bindir}/gunicorn_pecan
%check
%python_exec setup.py test
%pyunittest discover -v
%post
%python_install_alternative pecan