forked from pool/python-parameterized
Accepting request 745383 from devel:languages:python
- remove pytest test, enable other test frameworks OBS-URL: https://build.opensuse.org/request/show/745383 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parameterized?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 09:31:02 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- remove pytest test, enable other test frameworks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 14:41:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -22,13 +22,16 @@ Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: Parameterized testing
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/wolever/parameterized
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parameterized/parameterized-%{version}.tar.gz
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose2}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest < 4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
Suggests: python-nose
|
||||
Suggests: python-nose2
|
||||
Suggests: python-unittest2
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -38,6 +41,8 @@ BuildArch: noarch
|
||||
%description
|
||||
Parameterized testing with any Python test framework.
|
||||
|
||||
Not working with supportest "pytest" versions
|
||||
|
||||
%prep
|
||||
%setup -q -n parameterized-%{version}
|
||||
|
||||
@@ -50,7 +55,10 @@ Parameterized testing with any Python test framework.
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
%pytest parameterized/test.py
|
||||
%{python_expand nosetests-%$python_version}
|
||||
%{python_expand nose2-%$python_version}
|
||||
%{python_expand unit2-%$python_version}
|
||||
%python_exec -m unittest parameterized.test
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.txt README.rst
|
||||
|
||||
Reference in New Issue
Block a user