From 025c702784431f6ed496f53a25dc7043acbc80b798113b753fc19b6e8b0cb9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Jun 2020 08:07:01 +0000 Subject: [PATCH] Accepting request 810710 from home:mcalabkova:branches:devel:languages:python - Replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/810710 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wikipedia?expand=0&rev=9 --- python-wikipedia.changes | 5 +++++ python-wikipedia.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-wikipedia.changes b/python-wikipedia.changes index ac77396..a668e31 100644 --- a/python-wikipedia.changes +++ b/python-wikipedia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 29 10:59:02 UTC 2020 - Marketa Calabkova + +- Replace nose with pytest + ------------------------------------------------------------------- Tue Dec 4 12:56:05 UTC 2018 - Matej Cepl diff --git a/python-wikipedia.spec b/python-wikipedia.spec index 7e50f4d..a699967 100644 --- a/python-wikipedia.spec +++ b/python-wikipedia.spec @@ -1,7 +1,7 @@ # # spec file for package python-wikipedia # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -26,7 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/goldsmith/Wikipedia Source: https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -55,7 +55,7 @@ Wikipedia data, not getting it. %check ln -s tests/request_mock_data.py . -%python_expand nosetests-%{$python_bin_suffix} +%pytest %files %{python_files} %license LICENSE