Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-01-14 22:26:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-testtools", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2012-12-07 14:49:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-01-14 22:26:21.000000000 +0100 @@ -1,0 +2,28 @@ +Mon Jan 14 12:38:00 UTC 2013 - [email protected] + +- Update to version 0.9.24: + * testtools.run discover will now sort the tests it discovered. This is a + workaround for http://bugs.python.org/issue16709. Non-standard test suites + are preserved, and their sort_tests() method called (if they have such an + attribute). testtools.testsuite.sorted_tests(suite, True) can be used by + such suites to do a local sort. + * ThreadsafeForwardingResult now defines a stub progress method, which + fixes testr run of streams containing progress markers (by discarding the + progress data). +- Changes from version 0.9.23: + * run.TestToolsTestRunner now accepts the verbosity, buffer and failfast + arguments the upstream python TestProgram code wants to give it, making it + possible to support them in a compatible fashion. (Robert Collins) + * testtools.run now supports the -f or --failfast parameter. + Previously it was advertised in the help but ignored. + * AnyMatch added, a new matcher that matches when any item in a collection + matches the given matcher. + * Spelling corrections to documentation. + * TestProgram now has a sane default for its testRunner argument. + * The test suite passes on Python 3 again. +- Changes from version 0.9.22: + * content_from_file and content_from_stream now accept seek_offset and + seek_whence parameters allowing them to be used to grab less than the full + stream, or to be used with StringIO streams. + +------------------------------------------------------------------- @@ -11 +39 @@ - * ``DirContains`` correctly exposed, after being accidentally hidden in the + * DirContains correctly exposed, after being accidentally hidden in the @@ -15 +43 @@ - - ``MatchesDict``, match every key in a dictionary with a key in a + - MatchesDict, match every key in a dictionary with a key in a @@ -18 +46 @@ - - ``ContainsDict``, every key in a dictionary of matchers must be + - ContainsDict, every key in a dictionary of matchers must be @@ -21 +49 @@ - - ``ContainedByDict``, every key in a dictionary must be found in + - ContainedByDict, every key in a dictionary must be found in @@ -33 +61 @@ - ``testtools.matchers`` package and was thus completely broken. This release + testtools.matchers package and was thus completely broken. This release @@ -39 +67 @@ - * The ``testtools.matchers`` package has been split up. No change to the + * The testtools.matchers package has been split up. No change to the @@ -41 +69 @@ - * ``python -m testtools.run discover . --list`` now works. (Robert Collins) + * python -m testtools.run discover . --list now works. (Robert Collins) @@ -47 +75 @@ - * New content helper, ``json_content`` (Jonathan Lange) + * New content helper, json_content (Jonathan Lange) @@ -49 +77 @@ - * ``ContainsAll`` for asserting one thing is a subset of another + * ContainsAll for asserting one thing is a subset of another @@ -51 +79 @@ - * ``SameMembers`` for asserting two iterators have the same members. + * SameMembers for asserting two iterators have the same members. @@ -59 +87 @@ - * ``PlaceHolder`` and ``ErrorHolder`` now support being given result + * PlaceHolder and ErrorHolder now support being given result @@ -61,3 +89,3 @@ - * ``ErrorHolder`` is now just a function - all the logic is in - ``PlaceHolder``. (Robert Collins) - * ``TestResult`` and all other ``TestResult``-like objects in testtools + * ErrorHolder is now just a function - all the logic is in + PlaceHolder. (Robert Collins) + * TestResult and all other TestResult-like objects in testtools @@ -71 +99 @@ - * ``ThreadsafeForwardingResult`` now forwards global tags as test-local + * ThreadsafeForwardingResult now forwards global tags as test-local @@ -77,2 +105,2 @@ - * ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter - that can be used to wrap the ``ThreadsafeForwardingResult``s created by + * ConcurrentTestSuite now takes an optional wrap_result parameter + that can be used to wrap the ThreadsafeForwardingResults created by @@ -80 +108 @@ - * ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to + * Tagger added. It's a new TestResult that tags all tests sent to @@ -82,3 +110,3 @@ - * ``testresultdecorator`` brought over from subunit. (Jonathan Lange) - * All ``TestResult`` wrappers now correctly forward ``current_tags`` from - their wrapped results, meaning that ``current_tags`` can always be relied + * testresultdecorator brought over from subunit. (Jonathan Lange) + * All TestResult wrappers now correctly forward current_tags from + their wrapped results, meaning that current_tags can always be relied @@ -86 +114 @@ - * ``TestByTestResult``, a ``TestResult`` that calls a method once per test, + * TestByTestResult, a TestResult that calls a method once per test, @@ -88,2 +116,2 @@ - * ``ThreadsafeForwardingResult`` correctly forwards ``tags()`` calls where - only one of ``new_tags`` or ``gone_tags`` are specified. + * ThreadsafeForwardingResult correctly forwards tags() calls where + only one of new_tags or gone_tags are specified. @@ -91 +119 @@ - * ``ThreadsafeForwardingResult`` no longer leaks local tags from one test + * ThreadsafeForwardingResult no longer leaks local tags from one test @@ -93 +121 @@ - * ``ThreadsafeForwardingResult`` has many, many more tests. (Jonathan Lange) + * ThreadsafeForwardingResult has many, many more tests. (Jonathan Lange) @@ -100 +128 @@ - * Our sister project, `subunit <https://launchpad.net/subunit>`_, was using + * Our sister project, subunit <https://launchpad.net/subunit>_, was using @@ -106 +134 @@ - * ``MatchesAll`` now takes an ``first_only`` keyword argument that changes + * MatchesAll now takes an first_only keyword argument that changes @@ -108 +136 @@ - ``MatchesAll`` with keyword arguments, then this change might affect + MatchesAll with keyword arguments, then this change might affect @@ -114 +142 @@ - * ``assertRaises`` now includes the ``repr`` of the callable that failed + * assertRaises now includes the repr of the callable that failed @@ -118 +146 @@ - * ``Content`` objects now have an ``as_text`` method to convert their + * Content objects now have an as_text method to convert their @@ -121 +149 @@ - * ``FullStackRunTest`` no longer aborts the test run if a test raises an + * FullStackRunTest no longer aborts the test run if a test raises an @@ -123 +151 @@ - * ``MatchesAll`` and ``MatchesListwise`` both take a ``first_only`` + * MatchesAll and MatchesListwise both take a first_only @@ -127 +155 @@ - * New helper, ``Nullary`` that turns callables with arguments into ones + * New helper, Nullary that turns callables with arguments into ones @@ -130 +158 @@ - * ``DirContains`` matches the contents of a directory. + * DirContains matches the contents of a directory. @@ -132 +160 @@ - * ``DirExists`` matches if a directory exists. + * DirExists matches if a directory exists. @@ -134 +162 @@ - * ``FileContains`` matches the contents of a file. + * FileContains matches the contents of a file. @@ -136 +164 @@ - * ``FileExists`` matches if a file exists. + * FileExists matches if a file exists. @@ -138,3 +166,3 @@ - * ``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 + * 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 @@ -142,2 +170,2 @@ - * ``SamePath`` matches if two paths are the same. (Jonathan Lange) - * ``TarballContains`` matches the contents of a tarball. (Jonathan + * SamePath matches if two paths are the same. (Jonathan Lange) + * TarballContains matches the contents of a tarball. (Jonathan @@ -145 +173 @@ - * ``MultiTestResult`` supports the ``tags`` method. + * MultiTestResult supports the tags method. @@ -147 +175 @@ - * ``ThreadsafeForwardingResult`` supports the ``tags`` method. + * ThreadsafeForwardingResult supports the tags method. @@ -149 +177 @@ - * ``ThreadsafeForwardingResult`` no longer includes semaphore acquisition + * ThreadsafeForwardingResult no longer includes semaphore acquisition @@ -158 +186 @@ - * ``AfterPreproccessing`` renamed to ``AfterPreprocessing``, which is a + * AfterPreproccessing renamed to AfterPreprocessing, which is a @@ -161,4 +189,4 @@ - * ``assertThat`` raises ``MismatchError`` instead of - ``TestCase.failureException``. ``MismatchError`` is a subclass of - ``AssertionError``, so in most cases this change will not matter. - However, if ``self.failureException`` has been set to a non-default + * assertThat raises MismatchError instead of + TestCase.failureException. MismatchError is a subclass of + AssertionError, so in most cases this change will not matter. + However, if self.failureException has been set to a non-default @@ -167 +195 @@ - * ``gather_details`` takes two dicts, rather than two detailed objects. + * gather_details takes two dicts, rather than two detailed objects. @@ -169 +197 @@ - * ``MatchesRegex`` mismatch now says "<value> does not match /<regex>/" + * MatchesRegex mismatch now says "<value> does not match /<regex>/" @@ -172,2 +200,2 @@ - * Tests that run with ``AsynchronousDeferredRunTest`` now have the - ``reactor`` attribute set to the running reactor. (Jonathan Lange, + * Tests that run with AsynchronousDeferredRunTest now have the + reactor attribute set to the running reactor. (Jonathan Lange, @@ -176 +204 @@ - * All public matchers are now in ``testtools.matchers.__all__``. (Jonathan + * All public matchers are now in testtools.matchers.__all__. (Jonathan @@ -178 +206 @@ - * ``assertThat`` can actually display mismatches and matchers that contain + * assertThat can actually display mismatches and matchers that contain @@ -180 +208 @@ - * ``assertThat`` output is much less verbose, displaying only what the + * assertThat output is much less verbose, displaying only what the @@ -182 +210 @@ - passing ``verbose=True`` to assertThat. (Jonathan Lange, #675323, + passing verbose=True to assertThat. (Jonathan Lange, #675323, @@ -184 +212 @@ - * ``assertThat`` accepts a message which will be used to annotate the + * assertThat accepts a message which will be used to annotate the @@ -191 +219 @@ - * ``DocTestMatches`` correctly handles unicode output from examples, ++++ 58 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes ++++ and /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes Old: ---- testtools-0.9.21.tar.gz New: ---- testtools-0.9.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-testtools.spec ++++++ --- /var/tmp/diff_new_pack.qdzMky/_old 2013-01-14 22:26:22.000000000 +0100 +++ /var/tmp/diff_new_pack.qdzMky/_new 2013-01-14 22:26:22.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,20 +11,21 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-testtools -Version: 0.9.21 +Version: 0.9.24 Release: 0 -License: MIT Summary: Extensions to the Python Standard Library Unit Testing Framework -Url: https://launchpad.net/testtools +License: MIT Group: Development/Languages/Python +Url: https://launchpad.net/testtools Source: testtools-%{version}.tar.gz -BuildRequires: python-devel BuildRequires: python-Sphinx +BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} ++++++ testtools-0.9.21.tar.gz -> testtools-0.9.24.tar.gz ++++++ ++++ 2843 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
