Accepting request 809724 from devel:languages:python
- Update to 1.4.1: * Remove nose dependency for good * Require enum34 for Python 2.x. * Improved code comments and renamed the test name format enum class * Use enum instead of bool to allow easier future changes * Allow index-only test names - Switch to using %pytest macro now that nose is not required OBS-URL: https://build.opensuse.org/request/show/809724 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=11
This commit is contained in:
commit
892b90d1f7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef9e554b03241f8f8a1bbde5f749a199871d227335fe4bb320feb0abe6fbab00
|
||||
size 10659
|
3
ddt-1.4.1.tar.gz
Normal file
3
ddt-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da
|
||||
size 11457
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 28 03:09:23 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.4.1:
|
||||
* Remove nose dependency for good
|
||||
* Require enum34 for Python 2.x.
|
||||
* Improved code comments and renamed the test name format enum class
|
||||
* Use enum instead of bool to allow easier future changes
|
||||
* Allow index-only test names
|
||||
- Switch to using %pytest macro now that nose is not required
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 2 10:30:10 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-ddt
|
||||
Version: 1.3.1
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Data-Driven/Decorated Tests
|
||||
License: MIT
|
||||
@ -31,7 +31,7 @@ BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%if %{with python2}
|
||||
BuildRequires: python-mock
|
||||
%endif
|
||||
@ -52,7 +52,7 @@ A library to multiply test cases.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CONTRIBUTING.md README.md
|
||||
|
Loading…
Reference in New Issue
Block a user