14
0

Accepting request 827117 from home:jayvdb:py-submit

Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/827117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2020-08-17 06:15:54 +00:00
committed by Git OBS Bridge
parent d68e10d92c
commit 67a0a633c8
2 changed files with 7 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ Group: Development/Languages/Python
URL: https://python-redmine.com
Source: https://files.pythonhosted.org/packages/source/p/python-redmine/python-redmine-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.23.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -56,7 +56,7 @@ powerful Pythonic API inspired by a well-known Django ORM.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%license LICENSE