- update to 2.3.0:
* Release 2.3.0
* Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)
* Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241)
* Add testtools.assertions to the documented API modules (#257)
* Add Python 3.6 to the list of Travis targets (#255)
* Don't add file details without content (#252)
* Don't run Sphinx on Travis Python 3.3 target (#250)
* Make twistedsupport and tests work on Python 3
- update to 2.3.0:
* Release 2.3.0
* Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)
* Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241)
* Add testtools.assertions to the documented API modules (#257)
* Add Python 3.6 to the list of Travis targets (#255)
* Don't add file details without content (#252)
* Don't run Sphinx on Travis Python 3.3 target (#250)
* Make twistedsupport and tests work on Python 3
OBS-URL: https://build.opensuse.org/request/show/507958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=50
- update to 2.2.0:
* Release 2.2.0
* Depend on the extras 1.0.0 release
* Unbreak fixtures test suite / use of gather_details
* UTF-8 encode Twisted logs (allenap)
* Use inlineCallbacks instead of deferredGenerator
* Fix _lp_release: NEXT is case sensitive
* Release 2.1.0
* Correct docs for skip deprecation
* Add matchers for detecting emitted warnings
* Revert usage of pyrsistent
* Add unique_text_generator
* Become compatible with newer Fixtures _setUp() API
* Better handling of KeyboardInterrupt
* Fix example in docstring for `failed`
* Move all Twisted code to twistedsupport package
* Revert "Move all Twisted code to twistedsupport package"
* Move all Twisted code to twistedsupport package
* Add Always & Never matchers
* Support TestResults without stop/shouldStop
* Stop using deprecated `skip()` internally
* Release 2.0.0
* Options for logging in AsynchronousDeferredRunTest
* Twisted tests now pass under --debug-stacktraces
* Decouple log handling from Deferred wrangling
* Fix typo: flexability
* Review tweaks
* Drop support for Python 2.6 and 3.2
* Release 1.9.0
* Missed one
OBS-URL: https://build.opensuse.org/request/show/423807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=37
- update to 0.9.35:
* Removed a number of code paths where Python 2.4 and Python 2.5 were
explicitly handled. (Daniel Watkins)
* Added the ``testtools.TestCase.expectThat`` method, which implements
delayed assertions. (Thomi Richards)
* Docs are now built as part of the Travis-CI build, reducing the chance of
Read The Docs being broken accidentally. (Daniel Watkins, #1158773) (forwarded request 215507 from dirkmueller)
OBS-URL: https://build.opensuse.org/request/show/215509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=12
- update to 0.9.34:
* Added ability for ``testtools.TestCase`` instances to force a test to
fail, even if no assertions failed. (Thomi Richards)
* Added ``testtools.content.StacktraceContent``, a content object that
automatically creates a ``StackLinesContent`` object containing the current
stack trace. (Thomi Richards)
* ``AnyMatch`` is now exported properly in ``testtools.matchers``.
(Robert Collins, Rob Kennedy, github #44)
* Network tests now bind to 127.0.0.1 to avoid (even temporary) network
visible ports. (Benedikt Morbach, github #46)
- Revert back
- Totally disable testing to bootstrap ppc64. Actually the build conditional is
supposed to do just that. (forwarded request 213713 from dirkmueller)
OBS-URL: https://build.opensuse.org/request/show/213774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=11
- update to 0.9.34:
* Added ability for ``testtools.TestCase`` instances to force a test to
fail, even if no assertions failed. (Thomi Richards)
* Added ``testtools.content.StacktraceContent``, a content object that
automatically creates a ``StackLinesContent`` object containing the current
stack trace. (Thomi Richards)
* ``AnyMatch`` is now exported properly in ``testtools.matchers``.
(Robert Collins, Rob Kennedy, github #44)
* Network tests now bind to 127.0.0.1 to avoid (even temporary) network
visible ports. (Benedikt Morbach, github #46)
- Revert back
- Totally disable testing to bootstrap ppc64. Actually the build conditional is
supposed to do just that.
OBS-URL: https://build.opensuse.org/request/show/213713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=28
- Use upstream URL
- Run testsuite
- Update to version 0.9.32:
+ Stacktrace filtering no longer hides unittest frames that are surrounded by
user frames. We will reenable this when we figure out a better algorithm for
retaining meaning. (Robert Collins, #1188420)
+ The compatibility code for skipped tests with unittest2 was broken.
(Robert Collins, #1190951)
+ Various documentation improvements (Clint Byrum, Xiao Hanyu).
- Changes from version 0.9.31:
+ ExpectedException now accepts a msg parameter for describing an error,
much the same as assertEquals etc. (Robert Collins)
OBS-URL: https://build.opensuse.org/request/show/180410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=7
- Run testsuite
- Update to version 0.9.32:
+ Stacktrace filtering no longer hides unittest frames that are surrounded by
user frames. We will reenable this when we figure out a better algorithm for
retaining meaning. (Robert Collins, #1188420)
+ The compatibility code for skipped tests with unittest2 was broken.
(Robert Collins, #1190951)
+ Various documentation improvements (Clint Byrum, Xiao Hanyu).
- Changes from version 0.9.31:
+ ExpectedException now accepts a msg parameter for describing an error,
much the same as assertEquals etc. (Robert Collins)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=20
- update to 0.9.30:
A new sort of TestResult, the StreamResult has been added, as a prototype for
a revised standard library test result API. Expect this API to change.
Although we will try to preserve compatibility for early adopters, it is
experimental and we might need to break it if it turns out to be unsuitable.
- update to 0.9.30:
A new sort of TestResult, the StreamResult has been added, as a prototype for
a revised standard library test result API. Expect this API to change.
Although we will try to preserve compatibility for early adopters, it is
experimental and we might need to break it if it turns out to be unsuitable.
- 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.
OBS-URL: https://build.opensuse.org/request/show/172922
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=14
- 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.
* DirContains correctly exposed, after being accidentally hidden in the
- MatchesDict, match every key in a dictionary with a key in a
- ContainsDict, every key in a dictionary of matchers must be
- ContainedByDict, every key in a dictionary must be found in
testtools.matchers package and was thus completely broken. This release
OBS-URL: https://build.opensuse.org/request/show/148409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=2
* 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.
* DirContains correctly exposed, after being accidentally hidden in the
- MatchesDict, match every key in a dictionary with a key in a
- ContainsDict, every key in a dictionary of matchers must be
- ContainedByDict, every key in a dictionary must be found in
testtools.matchers package and was thus completely broken. This release
* The testtools.matchers package has been split up. No change to the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=9