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:
parent
e1381452c4
commit
272bc2a176
@ -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>
|
Fri Feb 28 05:33:22 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -26,7 +26,8 @@ License: BSD-3-Clause
|
|||||||
URL: https://github.com/gmr/flatdict
|
URL: https://github.com/gmr/flatdict
|
||||||
Source: https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz
|
Source: https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose2}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m nose
|
%pytest tests.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG.md README.rst
|
%doc CHANGELOG.md README.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user