Accepting request 827033 from home:jayvdb:py-submit

Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/827033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flatdict?expand=0&rev=6
This commit is contained in:
Dirk Mueller 2020-08-16 17:32:15 +00:00 committed by Git OBS Bridge
parent e1381452c4
commit 272bc2a176
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 16 13:18:49 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Replace nose with pytest
-------------------------------------------------------------------
Fri Feb 28 05:33:22 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -26,7 +26,8 @@ License: BSD-3-Clause
URL: https://github.com/gmr/flatdict
Source: https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module nose2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -47,7 +48,7 @@ Python module for interacting with nested dicts as a single level dict with deli
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m nose
%pytest tests.py
%files %{python_files}
%doc CHANGELOG.md README.rst