15
0

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

- replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/812884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JsonWeb?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2020-06-09 13:22:29 +00:00
committed by Git OBS Bridge
parent 3bc4e90bd7
commit 9b458350b7
2 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-JsonWeb
#
# 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
@@ -24,8 +24,7 @@ Summary: Add JSON (de)serialization to your python objects
License: BSD-3-Clause
URL: http://www.jsonweb.info/
Source: https://files.pythonhosted.org/packages/source/J/JsonWeb/JsonWeb-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -44,7 +43,7 @@ to your python classes.
%python_install
%check
%python_expand nosetests-%{$python_bin_suffix}
%pytest
%files %{python_files}
%doc README.rst