From 3f9d7d9c4ba37cd3347df4ba8c9b146e63e8d8c629961b5d51337e2e18e53bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 14 Aug 2020 06:52:17 +0000 Subject: [PATCH] Accepting request 826573 from home:jayvdb:py-submit - Re-activate testing with pytest runner OBS-URL: https://build.opensuse.org/request/show/826573 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parameterized?expand=0&rev=18 --- python-parameterized.changes | 5 +++++ python-parameterized.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-parameterized.changes b/python-parameterized.changes index 346ccc3..32ec973 100644 --- a/python-parameterized.changes +++ b/python-parameterized.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 14 03:29:41 UTC 2020 - John Vandenberg + +- Re-activate testing with pytest runner + ------------------------------------------------------------------- Tue Jun 2 14:26:24 UTC 2020 - pgajdos@suse.com diff --git a/python-parameterized.spec b/python-parameterized.spec index 534603f..c057043 100644 --- a/python-parameterized.spec +++ b/python-parameterized.spec @@ -30,6 +30,7 @@ Patch0: skip_Documentation_tests.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module nose2} BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -41,8 +42,6 @@ BuildArch: noarch %description Parameterized testing with any Python test framework. -Not working with supportest "pytest" versions - %prep %setup -q -n parameterized-%{version} %autopatch -p1 @@ -59,6 +58,7 @@ export LANG=en_US.UTF8 %{python_expand nosetests-%$python_version} %{python_expand nose2-%$python_version} %python_exec -m unittest parameterized.test +%pytest parameterized/test.py %files %{python_files} %doc CHANGELOG.txt README.rst