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
This commit is contained in:
Tomáš Chvátal 2020-08-14 06:52:17 +00:00 committed by Git OBS Bridge
parent f9448678ab
commit 3f9d7d9c4b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 14 03:29:41 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Re-activate testing with pytest runner
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 2 14:26:24 UTC 2020 - pgajdos@suse.com Tue Jun 2 14:26:24 UTC 2020 - pgajdos@suse.com

View File

@ -30,6 +30,7 @@ Patch0: skip_Documentation_tests.patch
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose2} BuildRequires: %{python_module nose2}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -41,8 +42,6 @@ BuildArch: noarch
%description %description
Parameterized testing with any Python test framework. Parameterized testing with any Python test framework.
Not working with supportest "pytest" versions
%prep %prep
%setup -q -n parameterized-%{version} %setup -q -n parameterized-%{version}
%autopatch -p1 %autopatch -p1
@ -59,6 +58,7 @@ export LANG=en_US.UTF8
%{python_expand nosetests-%$python_version} %{python_expand nosetests-%$python_version}
%{python_expand nose2-%$python_version} %{python_expand nose2-%$python_version}
%python_exec -m unittest parameterized.test %python_exec -m unittest parameterized.test
%pytest parameterized/test.py
%files %{python_files} %files %{python_files}
%doc CHANGELOG.txt README.rst %doc CHANGELOG.txt README.rst