- 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:
parent
925a432674
commit
a5a9d757d6
@ -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
|
Mon May 6 11:25:43 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -17,16 +17,20 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-testtools
|
Name: python-testtools
|
||||||
Version: 0.9.30
|
Version: 0.9.32
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extensions to the Python Standard Library Unit Testing Framework
|
Summary: Extensions to the Python Standard Library Unit Testing Framework
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://launchpad.net/testtools
|
Url: https://launchpad.net/testtools
|
||||||
Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
|
||||||
BuildRequires: python-Sphinx
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
# Documentation requirements:
|
||||||
|
BuildRequires: python-Sphinx
|
||||||
|
# Test requirements
|
||||||
|
BuildRequires: python-extras
|
||||||
BuildRequires: python-python-mimeparse
|
BuildRequires: python-python-mimeparse
|
||||||
|
Requires: python-extras
|
||||||
Requires: python-python-mimeparse
|
Requires: python-python-mimeparse
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation
|
python setup.py build_sphinx
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
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
|
||||||
#%check
|
python setup.py test
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE NEWS README.rst doc/_build/html
|
%doc LICENSE NEWS README.rst build/sphinx/html
|
||||||
%{python_sitelib}/testtools*
|
%{python_sitelib}/testtools
|
||||||
|
%{python_sitelib}/testtools-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -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
3
testtools-0.9.32.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d87b7e4cc632f4a96dcb52214ebc89e5914e8b35ab795e662ff0bb7efc98afea
|
||||||
|
size 172852
|
Loading…
x
Reference in New Issue
Block a user