- Use upstream URL

- Run testsuite
- Update to version 0.9.32:
  + Stacktrace filtering no longer hides unittest frames that are surrounded by
    user frames. We will reenable this when we figure out a better algorithm for
    retaining meaning. (Robert Collins, #1188420)
  + The compatibility code for skipped tests with unittest2 was broken.
    (Robert Collins, #1190951)
  + Various documentation improvements (Clint Byrum, Xiao Hanyu).
- Changes from version 0.9.31:
  + ExpectedException now accepts a msg parameter for describing an error,
    much the same as assertEquals etc. (Robert Collins)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=20
This commit is contained in:
Sascha Peilicke 2013-06-21 09:34:48 +00:00 committed by Git OBS Bridge
parent 925a432674
commit a5a9d757d6
4 changed files with 31 additions and 11 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Jun 21 08:21:16 UTC 2013 - speilicke@suse.com
- Use upstream URL
- Run testsuite
- Update to version 0.9.32:
+ Stacktrace filtering no longer hides unittest frames that are surrounded by
user frames. We will reenable this when we figure out a better algorithm for
retaining meaning. (Robert Collins, #1188420)
+ The compatibility code for skipped tests with unittest2 was broken.
(Robert Collins, #1190951)
+ Various documentation improvements (Clint Byrum, Xiao Hanyu).
- Changes from version 0.9.31:
+ ExpectedException now accepts a msg parameter for describing an error,
much the same as assertEquals etc. (Robert Collins)
-------------------------------------------------------------------
Mon May 6 11:25:43 UTC 2013 - dmueller@suse.com

View File

@ -17,16 +17,20 @@
Name: python-testtools
Version: 0.9.30
Version: 0.9.32
Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT
Group: Development/Languages/Python
Url: https://launchpad.net/testtools
Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
BuildRequires: python-Sphinx
BuildRequires: python-devel
# Documentation requirements:
BuildRequires: python-Sphinx
# Test requirements
BuildRequires: python-extras
BuildRequires: python-python-mimeparse
Requires: python-extras
Requires: python-python-mimeparse
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@ -46,18 +50,18 @@ also ports recent unittest changes all the way back to Python 2.4.
%build
python setup.py build
cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation
python setup.py build_sphinx
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# There is a mistake in setup.cfg; test command has no catch option; disable it for instance
#%check
#python setup.py test
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE NEWS README.rst doc/_build/html
%{python_sitelib}/testtools*
%doc LICENSE NEWS README.rst build/sphinx/html
%{python_sitelib}/testtools
%{python_sitelib}/testtools-%{version}-py%{py_ver}.egg-info
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69cefa19414ccb8b5f02de790cd8b8ac04a8161e445b6084b4309bdf4ac88c45
size 190602

3
testtools-0.9.32.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d87b7e4cc632f4a96dcb52214ebc89e5914e8b35ab795e662ff0bb7efc98afea
size 172852