15
0
forked from pool/python-ddt

Accepting request 627902 from home:TheBlackCat:branches:devel:languages:python

- update to 1.2.0
  * Added individual test case docstring support and tests 
  * Add nested dict example to docs and cosmetic adjustments

OBS-URL: https://build.opensuse.org/request/show/627902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=14
This commit is contained in:
Todd R
2018-08-07 14:51:28 +00:00
committed by Git OBS Bridge
parent 151975bbf9
commit da958dbef4
4 changed files with 18 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ddt
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-ddt
Version: 1.1.1
Version: 1.2.0
Release: 0
Summary: Data-Driven/Decorated Tests
License: MIT
@@ -28,12 +27,14 @@ Url: https://github.com/txels/ddt
Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
# /SECTION
BuildArch: noarch
%python_subpackages
@@ -48,13 +49,14 @@ A library to multiply test cases.
%install
%{python_install}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_exec setup.py test}
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTING.md README.md
%license LICENSE.md
%{python_sitelib}/*
%doc *.md
%changelog