diff --git a/python-django-coverage-plugin.changes b/python-django-coverage-plugin.changes index 8a84a17..44b64fc 100644 --- a/python-django-coverage-plugin.changes +++ b/python-django-coverage-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 20 08:34:52 UTC 2021 - pgajdos@suse.com + +- %check: use %pytest macro + ------------------------------------------------------------------- Thu Feb 20 09:25:29 UTC 2020 - Tomáš Chvátal diff --git a/python-django-coverage-plugin.spec b/python-django-coverage-plugin.spec index 51d1da4..34d502a 100644 --- a/python-django-coverage-plugin.spec +++ b/python-django-coverage-plugin.spec @@ -1,7 +1,7 @@ # # spec file for package python-django-coverage-plugin # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Django} BuildRequires: %{python_module coverage >= 4.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.4.0} BuildRequires: %{python_module unittest-mixins} # /SECTION @@ -55,7 +56,7 @@ Django template coverage.py plugin %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE.txt