Fedora 20 Update: python-testtools-0.9.35-1.fc20

updates at fedoraproject.org updates at fedoraproject.org
Fri Feb 14 08:11:42 UTC 2014


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2014-1969
2014-02-04 01:52:09
--------------------------------------------------------------------------------

Name        : python-testtools
Product     : Fedora 20
Version     : 0.9.35
Release     : 1.fc20
URL         : https://launchpad.net/testtools
Summary     : Extensions to the Python unit testing framework
Description :
testtools is a set of extensions to the Python standard library's unit testing
framework.

--------------------------------------------------------------------------------
Update Information:

0.9.35:
* Removed a number of code paths where Python 2.4 and Python 2.5 were explicitly handled.
* Added the ``testtools.TestCase.expectThat`` method, which implements delayed assertions.
* Docs are now built as part of the Travis-CI build, reducing the chance of Read The Docs being broken accidentally.

0.9.34:
* Added ability for ``testtools.TestCase`` instances to force a test to fail, even if no assertions failed.
* Added ``testtools.content.StacktraceContent``, a content object that automatically creates a ``StackLinesContent`` object containing the current stack trace.
* ``AnyMatch`` is now exported properly in ``testtools.matchers``.
* In Python 3.3, if there are duplicate test ids, tests.sort() will fail and raise TypeError. Detect the duplicate test ids firstly in sorted_tests() to ensure that all test ids are unique.
* ``json_content`` is now in the ``__all__`` attribute for ``testtools.content``.
* Network tests now bind to 127.0.0.1 to avoid (even temporary) network visible ports.
* Test listing now explicitly indicates by printing 'Failed to import' and exiting (2) when an import has failed rather than only signalling through the test name.
* ``test_compat.TestDetectEncoding.test_bom`` now works on Python 3.3 - the corner case with euc_jp is no longer permitted in Python 3.3 so we can skip it.

0.9.33:
* Added ``addDetailuniqueName`` method to ``testtools.TestCase`` class.
* Removed some unused code from ``testtools.content.TracebackContent``.
* Added ``testtools.StackLinesContent``: a content object for displaying pre-processed stack lines.
* ``StreamSummary`` was calculating testsRun incorrectly: ``exists`` status tests were counted as run tests, but they are not.

--------------------------------------------------------------------------------
ChangeLog:

* Mon Feb  3 2014 Michel Salim <salimma at fedoraproject.org> - 0.9.35-1
- Update to 0.9.35
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1027104 - python-testtools-0.9.35 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1027104
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update python-testtools' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list