Hello community,
here is the log from the commit of package python-parameterized for
openSUSE:Factory checked in at 2019-11-22 10:19:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parameterized (Old)
and /work/SRC/openSUSE:Factory/.python-parameterized.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parameterized"
Fri Nov 22 10:19:21 2019 rev:5 rq:745383 version:0.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-parameterized/python-parameterized.changes
2019-08-22 10:56:00.669670586 +0200
+++
/work/SRC/openSUSE:Factory/.python-parameterized.new.26869/python-parameterized.changes
2019-11-22 10:19:24.089361309 +0100
@@ -1,0 +2,5 @@
+Tue Nov 5 09:31:02 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- remove pytest test, enable other test frameworks
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parameterized.spec ++++++
--- /var/tmp/diff_new_pack.rIYtTR/_old 2019-11-22 10:19:24.501361202 +0100
+++ /var/tmp/diff_new_pack.rIYtTR/_new 2019-11-22 10:19:24.501361202 +0100
@@ -22,13 +22,16 @@
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 @@
%description
Parameterized testing with any Python test framework.
+Not working with supportest "pytest" versions
+
%prep
%setup -q -n parameterized-%{version}
@@ -50,7 +55,10 @@
%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