pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-testtools Update py-testtools to 0.9.14.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b39bf685ccc8
branches: trunk
changeset: 602943:b39bf685ccc8
user: obache <obache%pkgsrc.org@localhost>
date: Mon Apr 23 12:23:39 2012 +0000
description:
Update py-testtools to 0.9.14.
0.9.14
~~~~~~
Our sister project, `subunit <https://launchpad.net/subunit>`_, was using a
private API that was deleted in the 0.9.13 release. This release restores
that API in order to smooth out the upgrade path.
If you don't use subunit, then this release won't matter very much to you.
0.9.13
~~~~~~
Plenty of new matchers and quite a few critical bug fixes (especially to do
with stack traces from failed assertions). A net win for all.
Changes
-------
* ``MatchesAll`` now takes an ``first_only`` keyword argument that changes how
mismatches are displayed. If you were previously passing matchers to
``MatchesAll`` with keyword arguments, then this change might affect your
test results. (Jonathan Lange)
Improvements
------------
* Actually hide all of the testtools stack for assertion failures. The
previous release promised clean stack, but now we actually provide it.
(Jonathan Lange, #854769)
* ``assertRaises`` now includes the ``repr`` of the callable that failed to raise
properly. (Jonathan Lange, #881052)
* Asynchronous tests no longer hang when run with trial.
(Jonathan Lange, #926189)
* ``Content`` objects now have an ``as_text`` method to convert their contents
to Unicode text. (Jonathan Lange)
* Failed equality assertions now line up. (Jonathan Lange, #879339)
* ``FullStackRunTest`` no longer aborts the test run if a test raises an
error. (Jonathan Lange)
* ``MatchesAll`` and ``MatchesListwise`` both take a ``first_only`` keyword
argument. If True, they will report only on the first mismatch they find,
and not continue looking for other possible mismatches.
(Jonathan Lange)
* New helper, ``Nullary`` that turns callables with arguments into ones that
don't take arguments. (Jonathan Lange)
* New matchers:
* ``DirContains`` matches the contents of a directory.
(Jonathan Lange, James Westby)
* ``DirExists`` matches if a directory exists.
(Jonathan Lange, James Westby)
* ``FileContains`` matches the contents of a file.
(Jonathan Lange, James Westby)
* ``FileExists`` matches if a file exists.
(Jonathan Lange, James Westby)
* ``HasPermissions`` matches the permissions of a file. (Jonathan Lange)
* ``MatchesPredicate`` matches if a predicate is true. (Jonathan Lange)
* ``PathExists`` matches if a path exists. (Jonathan Lange, James Westby)
* ``SamePath`` matches if two paths are the same. (Jonathan Lange)
* ``TarballContains`` matches the contents of a tarball. (Jonathan Lange)
* ``MultiTestResult`` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)
* ``ThreadsafeForwardingResult`` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)
* ``ThreadsafeForwardingResult`` no longer includes semaphore acquisition time
in the test duration (for implicitly timed test runs).
(Robert Collins, #914362)
diffstat:
devel/py-testtools/Makefile | 7 ++++---
devel/py-testtools/distinfo | 8 ++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r 20d59d489378 -r b39bf685ccc8 devel/py-testtools/Makefile
--- a/devel/py-testtools/Makefile Mon Apr 23 12:01:35 2012 +0000
+++ b/devel/py-testtools/Makefile Mon Apr 23 12:23:39 2012 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2012/04/08 19:08:54 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2012/04/23 12:23:39 obache Exp $
#
-DISTNAME= testtools-0.9.12
+DISTNAME= testtools-0.9.14
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
-MASTER_SITES= http://launchpad.net/testtools/0.9/${PKGVERSION_NOREV}/+download/
+MASTER_SITES= http://launchpad.net/testtools/0.9/${PKGVERSION_NOREV}/+download/ \
+ http://launchpadlibrarian.net/93060290/
MAINTAINER= obache%NetBSD.org@localhost
HOMEPAGE= http://launchpad.net/testtools
diff -r 20d59d489378 -r b39bf685ccc8 devel/py-testtools/distinfo
--- a/devel/py-testtools/distinfo Mon Apr 23 12:01:35 2012 +0000
+++ b/devel/py-testtools/distinfo Mon Apr 23 12:23:39 2012 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2011/10/07 10:45:06 obache Exp $
+$NetBSD: distinfo,v 1.3 2012/04/23 12:23:39 obache Exp $
-SHA1 (testtools-0.9.12.tar.gz) = b4d55d183e905e287918da313cf5d4ed0c4b96a7
-RMD160 (testtools-0.9.12.tar.gz) = 2145b5ff7aa880ba2f4e92580894957583898f22
-Size (testtools-0.9.12.tar.gz) = 124672 bytes
+SHA1 (testtools-0.9.14.tar.gz) = 12bd97a51a71437d489718125f2a39f8aac309fb
+RMD160 (testtools-0.9.14.tar.gz) = 7138b30ff3d5a556d2f488c54499e25e1d409638
+Size (testtools-0.9.14.tar.gz) = 146103 bytes
Home |
Main Index |
Thread Index |
Old Index