From 54ee3ced06bed663f23effef14fb661fa5b6a67aed2a970cd5e5e0ba58f6bc53 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 09:57:16 +0000 Subject: [PATCH] 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 --- python-pecan.changes | 5 +++++ python-pecan.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pecan.changes b/python-pecan.changes index d28ccde..485878f 100644 --- a/python-pecan.changes +++ b/python-pecan.changes @@ -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 diff --git a/python-pecan.spec b/python-pecan.spec index dbb65a7..02575de 100644 --- a/python-pecan.spec +++ b/python-pecan.spec @@ -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