14
0

- 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
This commit is contained in:
2024-05-08 06:37:44 +00:00
committed by Git OBS Bridge
parent 1161dda071
commit d098179271
2 changed files with 7 additions and 3 deletions

View File

@@ -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