diff --git a/python-asciitree.changes b/python-asciitree.changes index eb21c7e..3dff5b2 100644 --- a/python-asciitree.changes +++ b/python-asciitree.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 23 23:06:41 UTC 2020 - Benjamin Greiner + +- The tests need pytest for discovery + ------------------------------------------------------------------- Wed Oct 14 09:54:59 UTC 2020 - Jan Engelhardt diff --git a/python-asciitree.spec b/python-asciitree.spec index 3a1533b..732a45d 100644 --- a/python-asciitree.spec +++ b/python-asciitree.spec @@ -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