From 01076124283a182ffeb2aafee7b3c2e9df2477a9af6bdd2bac08b16758d07bb1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 28 Aug 2021 08:28:43 +0000 Subject: [PATCH] Accepting request 914607 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/914607 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xvfbwrapper?expand=0&rev=14 --- python-xvfbwrapper.changes | 5 +++++ python-xvfbwrapper.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-xvfbwrapper.changes b/python-xvfbwrapper.changes index 08880e9..dc90eac 100644 --- a/python-xvfbwrapper.changes +++ b/python-xvfbwrapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 27 12:27:38 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Mon Apr 20 07:08:27 UTC 2020 - Tomáš Chvátal diff --git a/python-xvfbwrapper.spec b/python-xvfbwrapper.spec index 7e7275a..c6e3191 100644 --- a/python-xvfbwrapper.spec +++ b/python-xvfbwrapper.spec @@ -1,7 +1,7 @@ # # spec file for package python-xvfbwrapper # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -59,7 +59,7 @@ sed -i -e '/^#!\//, 1d' xvfbwrapper.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test -v +%pyunittest discover -v %files %{python_files} %doc README.rst