Accepting request 827078 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/827078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquery?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2020-08-25 10:37:14 +00:00 committed by Git OBS Bridge
commit 460f8a8497
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 16 16:39:56 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Replace nose with pytest
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 24 17:21:55 UTC 2019 - Arun Persaud <arun@gmx.de> Sun Nov 24 17:21:55 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pyquery # spec file for package python-pyquery
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2020 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
@ -45,7 +45,7 @@ BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module WebOb > 1.1.9} BuildRequires: %{python_module WebOb > 1.1.9}
BuildRequires: %{python_module WebTest} BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
%endif %endif
%python_subpackages %python_subpackages
@ -70,7 +70,7 @@ XML and HTML manipulation.
%if %{with test} %if %{with test}
%check %check
# Disable tests which perform live fetch # Disable tests which perform live fetch
%python_exec -m nose tests -e test_get %pytest -k 'not test_get' tests
%endif %endif
%if !%{with test} %if !%{with test}