Accepting request 249494 from Cloud:OpenStack:Master

New upstream release

OBS-URL: https://build.opensuse.org/request/show/249494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=32
This commit is contained in:
Jan Matejek 2014-09-16 21:25:40 +00:00 committed by Git OBS Bridge
parent 30e8b429f0
commit 1efb001c88
4 changed files with 47 additions and 4 deletions

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Tue Sep 16 06:17:46 UTC 2014 - tbechtold@suse.com
- update to version 1.1.0:
* Exceptions in a ``fixture.getDetails`` method will no longer mask errors
raised from the same fixture's ``setUp`` method.
(Robert Collins, #1368440)
* Fix a long-standing bug where tearDown and cleanUps would not be called if
the test run was interrupted. This should fix leaking external resources
from interrupted tests.
(Robert Collins, #1364188)
* Fix a long-standing bug where calling sys.exit(0) from within a test would
cause the test suite to exit with 0, without reporting a failure of that
test. We still allow the test suite to be exited (since catching higher
order exceptions requires exceptional circumstances) but we now call a
last-resort handler on the TestCase, resulting in an error being
reported for the test.
(Robert Collins, #1364188)
* Fix an issue where tests skipped with the ``skip``* family of decorators
would still have their ``setUp`` and ``tearDown`` functions called.
(Thomi Richards, #https://github.com/testing-cabal/testtools/issues/86)
* We have adopted a formal backwards compatibility statement (see hacking.rst)
(Robert Collins)
* _jython_aware_splitext was not defined entirely compatibly.
(Robert Collins, #https://github.com/testing-cabal/testtools/issues/100)
* Discovery import error detection wasn't implemented for python 2.6 (the
'discover' module). (Robert Collins)
* Discovery now executes load_tests (if present) in __init__ in all packages.
(Robert Collins, http://bugs.python.org/issue16662)
* ``stdout`` is now correctly honoured on ``run.TestProgram`` - before the
runner objects would be created with no stdout parameter. If construction
fails, the previous parameter list is attempted, permitting compatibility
with Runner classes that don't accept stdout as a parameter.
(Robert Collins)
* The ``ExtendedToStreamDecorator`` now handles content objects with one less
packet - the last packet of the source content is sent with EOF set rather
than an empty packet with EOF set being sent after the last packet of the
source content. (Robert Collins)
* Error if ``setUp`` or ``tearDown`` are called twice.
(Robert Collins, #882884)
* Make testtools compatible with the ``unittest.expectedFailure`` decorator in
Python 3.4. (Thomi Richards)
-------------------------------------------------------------------
Wed Jan 29 12:31:27 UTC 2014 - dmueller@suse.com

View File

@ -21,7 +21,7 @@
%bcond_with tests
Name: python-testtools
Version: 0.9.35
Version: 1.1.0
Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT

View File

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

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

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