From 6df335c9de18a561f23d693ddb3851994e5e3bc05866770e60d926a9ea18a4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 06:47:01 +0000 Subject: [PATCH] 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 --- python-passlib.changes | 5 +++++ python-passlib.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-passlib.changes b/python-passlib.changes index 839e8ca..3afd7e4 100644 --- a/python-passlib.changes +++ b/python-passlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 06:39:47 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Wed Jan 1 22:15:42 UTC 2020 - Michael Ströder diff --git a/python-passlib.spec b/python-passlib.spec index 55d73df..fc0da53 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -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