forked from pool/python-testresources
Accepting request 1172633 from devel:languages:python
- Do not use pytest for the testsuite, switch to %pyunittest. OBS-URL: https://build.opensuse.org/request/show/1172633 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testresources?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 06:37:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Do not use pytest for the testsuite, switch to %pyunittest.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 16 02:47:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Aug 16 02:47:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-testresources
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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 fixtures}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module testtools}
|
BuildRequires: %{python_module testtools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -55,7 +54,7 @@ of resources by test cases.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pyunittest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license BSD Apache-2.0 COPYING
|
%license BSD Apache-2.0 COPYING
|
||||||
|
Reference in New Issue
Block a user