15
0
forked from pool/python-WSME

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

- Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/810184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=37
This commit is contained in:
Tomáš Chvátal
2020-05-29 11:02:03 +00:00
committed by Git OBS Bridge
parent 9dba2ebc0e
commit 13472ac0dc
2 changed files with 7 additions and 2 deletions

View File

@@ -29,9 +29,9 @@ BuildRequires: %{python_module WebOb >= 1.2.3}
BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module netaddr >= 0.7.12}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pecan}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplegeneric}
@@ -63,7 +63,7 @@ with focus on extensibility, framework-independence and improved type handling.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/nosetests -v tests/pecantest tests/rest
%pytest tests/pecantest tests/rest
%files %{python_files}
%license LICENSE