From 6590ea235bd768e00b019a029c3e4310f6357a40cc30cddf9752e647d1cd0341 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 3 Jun 2021 12:27:32 +0000 Subject: [PATCH] Accepting request 897194 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/897194 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-hawk?expand=0&rev=10 --- python-requests-hawk.changes | 5 +++++ python-requests-hawk.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-requests-hawk.changes b/python-requests-hawk.changes index a180a95..446821d 100644 --- a/python-requests-hawk.changes +++ b/python-requests-hawk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 3 12:25:12 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sat Jan 2 13:36:19 UTC 2021 - Antoine Belvire diff --git a/python-requests-hawk.spec b/python-requests-hawk.spec index 9f17d5f..83b1981 100644 --- a/python-requests-hawk.spec +++ b/python-requests-hawk.spec @@ -54,7 +54,7 @@ across mozilla services projects. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt