From 36647386118f8ba5247b8e3d7a9a7e60cfc0ffe2930e701c84a1bf50050b449c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 17 Apr 2019 08:41:09 +0000 Subject: [PATCH] Accepting request 695023 from home:mcepl:branches:devel:languages:python Switch to pytest runner, which seems to be a way more stable in providing the results. OBS-URL: https://build.opensuse.org/request/show/695023 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=15 --- python-python-gnupg.changes | 6 ++++++ python-python-gnupg.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-python-gnupg.changes b/python-python-gnupg.changes index a4ce28d..3f19ac3 100644 --- a/python-python-gnupg.changes +++ b/python-python-gnupg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 17 10:39:48 CEST 2019 - Matej Cepl + +- Switch to pytest runner, which seems to be a way more stable in + providing the results. + ------------------------------------------------------------------- Thu Jan 24 10:07:27 UTC 2019 - Tomáš Chvátal diff --git a/python-python-gnupg.spec b/python-python-gnupg.spec index b577438..7dd48b1 100644 --- a/python-python-gnupg.spec +++ b/python-python-gnupg.spec @@ -26,6 +26,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: http://pythonhosted.org/python-gnupg/index.html Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gpg2 @@ -56,7 +57,7 @@ encryption and signature functionality from Python programs. %check export NO_EXTERNAL_TESTS=true -%python_exec test_gnupg.py +%pytest test_gnupg.py %files %{python_files} %license LICENSE.txt