* 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
Description
No description provided
Languages
RPM Spec
100%