Accepting request 810181 from home:mcalabkova:branches:devel:languages:python

- Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/810181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmltodict?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal 2020-05-29 11:00:56 +00:00 committed by Git OBS Bridge
parent 92c77369de
commit bf554f5f39
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 29 10:34:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Replace nose with pytest
-------------------------------------------------------------------
Sat Apr 6 00:00:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-xmltodict
#
# Copyright (c) 2019 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
@ -31,7 +31,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-xml
BuildArch: noarch
BuildRequires: %{python_module nose >= 1.0}
BuildRequires: %{python_module pytest}
%python_subpackages
%description
@ -54,7 +54,7 @@ export LANG=en_US.UTF-8
%check
export LANG=en_US.UTF-8
%python_expand nosetests-%{$python_bin_suffix}
%pytest
%files %{python_files}
%license LICENSE