Accepting request 850322 from home:bnavigator:branches:devel:languages:python

- The tests need pytest for discovery

OBS-URL: https://build.opensuse.org/request/show/850322
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asciitree?expand=0&rev=5
This commit is contained in:
Markéta Machová 2020-11-24 09:49:40 +00:00 committed by Git OBS Bridge
parent f11d2f7406
commit 86a97dd4ad
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 23 23:06:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- The tests need pytest for discovery
-------------------------------------------------------------------
Wed Oct 14 09:54:59 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -26,6 +26,7 @@ Group: Development/Languages/Python
URL: https://github.com/mbr/asciitree
# https://github.com/mbr/asciitree/issues/16 -- no tests on PyPI
Source: https://github.com/mbr/asciitree/archive/%{version}.tar.gz#/asciitree-%{version}-gh.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -47,7 +48,7 @@ sed -i '1{/env python/ d}' asciitree/__init__.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%pytest
%files %{python_files}
%doc README.rst