From d098179271ec5d5eb9c9ae059a0e1716efe3a897b8f025f1fd976a9ca3d18c97 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 8 May 2024 06:37:44 +0000 Subject: [PATCH] - Do not use pytest for the testsuite, switch to %pyunittest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testresources?expand=0&rev=27 --- python-testresources.changes | 5 +++++ python-testresources.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-testresources.changes b/python-testresources.changes index 0ddd481..95ad82f 100644 --- a/python-testresources.changes +++ b/python-testresources.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 8 06:37:08 UTC 2024 - Steve Kowalik + +- Do not use pytest for the testsuite, switch to %pyunittest. + ------------------------------------------------------------------- Wed Aug 16 02:47:15 UTC 2023 - Steve Kowalik diff --git a/python-testresources.spec b/python-testresources.spec index 3680014..e3405a7 100644 --- a/python-testresources.spec +++ b/python-testresources.spec @@ -1,7 +1,7 @@ # # spec file for package python-testresources # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,6 @@ Patch1: use-correct-assertions.patch BuildRequires: %{python_module fixtures} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testtools} BuildRequires: %{python_module wheel} @@ -55,7 +54,7 @@ of resources by test cases. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pyunittest %files %{python_files} %license BSD Apache-2.0 COPYING