summaryrefslogtreecommitdiff
path: root/devel/py-testtools
diff options
context:
space:
mode:
authorobache <obache>2012-04-23 12:23:39 +0000
committerobache <obache>2012-04-23 12:23:39 +0000
commit567c46ea3c1ec2549475f52e642a9dd0d4c32968 (patch)
tree536b683ad93ffbc0ff3d660efec271b0ed9653fb /devel/py-testtools
parent8077c18a583734661e043aa0f5dd7366db1b2e07 (diff)
downloadpkgsrc-567c46ea3c1ec2549475f52e642a9dd0d4c32968.tar.gz
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 (limited to 'devel/py-testtools')
-rw-r--r--devel/py-testtools/Makefile7
-rw-r--r--devel/py-testtools/distinfo8
2 files changed, 8 insertions, 7 deletions
diff --git a/devel/py-testtools/Makefile b/devel/py-testtools/Makefile
index bf96593265e..c9363a9ab7d 100644
--- a/devel/py-testtools/Makefile
+++ b/devel/py-testtools/Makefile
@@ -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
HOMEPAGE= http://launchpad.net/testtools
diff --git a/devel/py-testtools/distinfo b/devel/py-testtools/distinfo
index 5ff517e539d..eee4ac77080 100644
--- a/devel/py-testtools/distinfo
+++ b/devel/py-testtools/distinfo
@@ -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