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

- replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/812773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=39
This commit is contained in:
Tomáš Chvátal 2020-06-09 06:47:01 +00:00 committed by Git OBS Bridge
parent 52fb1014fd
commit 6df335c9de
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 9 06:39:47 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- replace nose with pytest
-------------------------------------------------------------------
Wed Jan 1 22:15:42 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-passlib
#
# 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
@ -25,8 +25,7 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://bitbucket.org/ecollins/passlib
Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz
# test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -51,7 +50,7 @@ applications.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_version} -v
%pytest
%files %{python_files}
%license LICENSE