Accepting request 423807 from home:tbechtold:branches:devel:languages:python

- 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
This commit is contained in:
Dirk Mueller 2016-08-31 06:45:12 +00:00 committed by Git OBS Bridge
parent 3af3fb3926
commit d070e041c6
4 changed files with 222 additions and 8 deletions

View File

@ -1,3 +1,214 @@
-------------------------------------------------------------------
Tue Aug 30 11:41:55 UTC 2016 - tbechtold@suse.com
- 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
* 19.4.1 refers to importlib machinery. Avoid that
* See if setuptools 19.5 is bad
* PIP_VERSION is used by pip itself
* Correct spelling of 'less than 8', maybe
* Use only pip 7.* on pypy3 & py3.2
* Longer timeout not necessary
* NEWS update
* Handle case where Deferred fires after timeout
* Explicitly separate fake stop method
* Lint & copyright
* NO_RESULT -> has_no_result
* Make twistedsupport a package
* Rename `successful` to `succeeded`
* Improve NEWS
* Conditionally import matchers
* Use non-inplace install and add a comment
* New module for twisted support code
* Minor documentation tweaks
* Make no_result a constant
* Style & documentation tweaks from review
* Review tweaks
* Import extract_result from correct location
* expectThat works under AsynchronousDeferredRunTest
* Correct string literal syntax
* Avoid .format
* Give up on some TODOs
* Maybe we need to install our thing?
* Add requirements for readthedocs
* Move non-matcher code to _deferred
* Nicer links
* Link to Twisted API docs
* More todos
* Documentation with examples
* Pass the Deferred to the handlers
* Docstring formatting
* Use _on_deferred_result in _NoResult
* Make _on_deferred_result transparent to Deferred
* Extract common Deferred logic
* Use same error messages as Twisted
* Matcher for Deferreds that have failed
* TODOs & XXXs
* successResultOf equivalent
* Docstring formatting
* Docstring
* Move formatting to exception
* Extract `extract_result`
* Matcher for no result
* Actually use `skipException`
* NEWS update
* Suppress skip traceback based on skipException
* Deprecate Python 2.6
* Actually use pformat in errors
* Deterministic test
* NEWS update
* NEWS update
* Factor out counting
* ids has no apostrophe
* Lint
* Collect all duplicate test id's before raise
* Document checking release milestone before release
* Don't need our own assertRaisesRegexp
* Clarify the tests
* Add assertRaisesRegexp method
* Document early evaluation of details
* Update NEWS
* Deprecate TestCase.skip
* Deprecate _BinaryMismatch.{expected,observed}
* Make sure reference and actual align
* Put expected on the right for binary mismatch
* Fix typo
* Support Python 3.5, announce deprecation 3.2
* API docs for deferredruntest
* Need Deferred reference
* Remove scare warnings from deferredruntest
* Documentation tweaks
* Move Twisted docs to separate file
* Better error message for MatchesListwise
* NEWS update
* Clarify some things
* Move _cleanups reset to _reset
* Rewrite patch tests using make_test_case
* `throw` helper
* Rewrite addCleanup tests in terms of make_test_case
* Use method for value, to avoid `self` weirdness
* Move useful matchers to helper module
* Move unique_id_gen to reset
* Clean up comments
* No need for special case
* Get pre_set_up & post_tear_down from scenario
* Spell setUp consistently
* Allow pre setUp & post tearDown to be set
* Complete suite of tests
* Encapsulate construction
* Start to use generated behaviors
* Wrap the constructor, hide the class
* Handle more test bodies
* Begin implementing full matrix
* Easy review comments
* 15.5.0 claims to support Python 2.6 but does not
* Run tests on last Twisted version to support 2.6
* Latest Twisted doesn't run on Python 2.6
* Non-deterministic test case
* Simplify cleanup code
* Rename all_sample_cases_scenarios to deterministic_sample_cases_scenarios
* Treat tear down failure as a scenario
* Begin to write scenario-based tests
* Split run twice tests to separate case
* Acquire testscenarios as a dependency
* Fix travis :(
* Add testscenarios for use by tests
* Handle failure in tearDown
* Test _run_teardown, rather than tearDown
* Allow tests to be run twice
* Don't use private APIs
* Update NEWS for 1.8.1
* Hide TestRecord and StreamToTestRecord
* Old-fashioned set syntax
* Abstract text_or_bytes
* Add pyrsistent dependency to Travis CI
* Change PRecord to PClass
* Move test_dict_to_case near StreamToDict
* Don't use StreamToDict internally
* _streamer -> _hook
* StreamSummary with composition, not inheritance
* Extract StreamToTestRecord base class
* Move _make_content_type closer to where it is used
* Put to_test_case logic on TestRecord
* Make _status_map persistent
* Move test_dict_to_case closer to test_dict definition
* Remove temporary variable 'case'
* Extract got_file
* Extract got_timestamp function
* Move creation logic to TestRecord itself
* Actually use TestRecord internally
* Extract methods for making and updating record
* Extract _make_content_type
* Use `case` consistently, over `_inprogress[key]`
* Use name for interim states
* Aspirational documentation
* Remove VWS
* Update PlaceHolder indentation
* Restore & deprecate domap
* Spell out `f` and `xs`
* Drop `__metaclass__` declaration
* Document confusing `domap`
* Remove duplicate implementation of method
* Allow event_log to be passed to result doubles
* Fix lint in testresult.real
* Lint clear-up
* Uncap test matrix entries for modern Twisted
* Fix Travis matrix.include
* Only run Twisted tests on Python 2
* Test with Twisted 13.0.0/15.2.0
* Port twisted.deferredruntest to Twisted >= 15.1.0
* Update hacking documentation
* Fix tests with unittest2 1.1.0 and higher
* Programmatically declare test dependencies
* Fix the call to the parent setup
* Release 1.8.0
* Switch to pbr as a build system
* Add some custom matchers to make deferred log tests more readable
* Simplify AsynchronousDeferredRunTest._run_core's StringIO handling
* Rewind the deferred test log before attaching it
* Open 1.8.0 for dev
* Release 1.7.1
* Clamp Sphinx below 1.3 for travis on pypy3/3.2
* Fix pypy3 tests by using ceil when reporting duration
* Fix building universal wheels on Python 3
* Open next version
* Release 1.7.0
* Fix output of empty attachments
* Open 1.7.0 again
* Bug #1430076 fix installing when extras is not installed
* Opening 1.7.0 for development
* Release 1.6.0
* Overhaul exception reporting
- Adjust Requires according to requirements.txt
-------------------------------------------------------------------
Mon Dec 1 22:48:47 UTC 2014 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-testtools
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,10 +18,10 @@
# A build cycle exists between python-extras and python-testtools. Thus, only
# enable testing with a build conditional (off by default):
%bcond_with tests
%bcond_with tests
Name: python-testtools
Version: 1.5.0
Version: 2.2.0
Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT
@ -34,9 +34,12 @@ BuildRequires: python-python-mimeparse
BuildRequires: python-unittest2 >= 0.8.0
# Documentation requirements:
BuildRequires: python-Sphinx
Requires: python-extras
Requires: python-extras >= 1.0.0
Requires: python-fixtures >= 1.3.0
Requires: python-python-mimeparse
Requires: python-unittest2 >= 0.8.0
Requires: python-python-mimeparse
Requires: python-six >= 1.4.0
Requires: python-unittest2 >= 1.0.0
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()")}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d22a559f15b4540e069df0d69698d5bc70d9c42c8694c5e253595d70283511a
size 205197

3
testtools-2.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80f606607a6e4ce4d0e24e5b786562aa42c581906f3c070607a4265f3da65810
size 230716