Accepting request 827067 from home:jayvdb:py-submit
Replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/827067 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyquery?expand=0&rev=34
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -45,7 +45,7 @@ BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module WebOb > 1.1.9}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
%endif
|
||||
%python_subpackages
|
||||
@@ -70,7 +70,7 @@ XML and HTML manipulation.
|
||||
%if %{with test}
|
||||
%check
|
||||
# Disable tests which perform live fetch
|
||||
%python_exec -m nose tests -e test_get
|
||||
%pytest -k 'not test_get' tests
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Reference in New Issue
Block a user