Accepting request 685370 from devel:languages:python
- Update to 0.7.0: * Added parameterized_class feature, for parameterizing entire test classes (many thanks to @TobyLL for their suggestions and help testing!) * Fix DeprecationWarning on `inspect.getargs` (thanks @brettdh; https://github.com/wolever/parameterized/issues/67) * Make sure that `setUp` and `tearDown` methods work correctly (#40) * Raise a ValueError when input is empty (thanks @danielbradburn; https://github.com/wolever/parameterized/pull/48) * Fix the order when number of cases exceeds 10 (thanks @ntflc; https://github.com/wolever/parameterized/pull/49) OBS-URL: https://build.opensuse.org/request/show/685370 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parameterized?expand=0&rev=3
This commit is contained in:
commit
29a6234440
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:caf58e717097735de0d7e15386a46ffa5ce25bb6a13a43716a8854a8d34841e2
|
||||
size 14053
|
3
parameterized-0.7.0.tar.gz
Normal file
3
parameterized-0.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8c8837fb677ed2d5a93b9e2308ce0da3aeb58cf513120d501e0b7af14da78d5
|
||||
size 20751
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 13:34:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.7.0:
|
||||
* Added parameterized_class feature, for parameterizing entire test
|
||||
classes (many thanks to @TobyLL for their suggestions and help testing!)
|
||||
* Fix DeprecationWarning on `inspect.getargs` (thanks @brettdh;
|
||||
https://github.com/wolever/parameterized/issues/67)
|
||||
* Make sure that `setUp` and `tearDown` methods work correctly (#40)
|
||||
* Raise a ValueError when input is empty (thanks @danielbradburn;
|
||||
https://github.com/wolever/parameterized/pull/48)
|
||||
* Fix the order when number of cases exceeds 10 (thanks @ntflc;
|
||||
https://github.com/wolever/parameterized/pull/49)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:51:07 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-parameterized
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,22 +17,20 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-parameterized
|
||||
Version: 0.6.1
|
||||
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 nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@ -50,14 +48,11 @@ Parameterized testing with any Python test framework.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_expand py.test-%{$python_bin_suffix} parameterized/test.py
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
export LANG=en_US.UTF8
|
||||
%pytest parameterized/test.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
|
Loading…
Reference in New Issue
Block a user