14
0
Files
python-zope.testbrowser/python-zope.testbrowser.changes

123 lines
5.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-------------------------------------------------------------------
Tue Dec 4 12:56:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Aug 6 20:36:02 UTC 2018 - toddrme2178@gmail.com
- Update to 5.2.4
* Fix form submit with GET method if the form action contains a query string
(https://github.com/zopefoundation/zope.testbrowser/pull/42).
* Restore ignoring hidden elements when searching by label
(https://github.com/zopefoundation/zope.testbrowser/pull/41).
- Update to 5.2.3
* Fix ``mechRepr`` on controls to always return a native str
(https://github.com/zopefoundation/zope.testbrowser/issues/38).
- Update to 5.2.2
* Restore raising of AttributeError when trying to set value of a
read only control.
* Fix selecting radio and select control options by index
(https://github.com/zopefoundation/zope.testbrowser/issues/31).
- Update to 5.2.1
* Exclude version 2.0.27 of `WebTest` from allowed versions as it breaks some
tests.
* Adapt tests to version 2.0.28 of `WebTest` but keeping compatibility to older
versions.
- Update to 5.2
* Fixed ``toStr`` to handle lists, for example a list of class names.
[maurits]
* Fixed browser to only follow redirects for HTTP statuses
301, 302, 303, and 307; not other 30x statuses such as 304.
* Fix passing a real file to ``add_file``.
* Add ``controls`` property to Form class to list all form controls.
* Restore the ability to use parts of the actually displayed select box titles.
* Allow to set a string value instead of a list on ``Browser.displayValue``.
* Fix setting empty values on a select control.
* Support Python 3.6, PyPy2.7 an PyPy3.3.
- Update to 5.1
* Alias ``.browser.urllib_request.HTTPError`` to ``.browser.HTTPError`` to have
a better API.
- Update to 5.0.0
* Converted most doctests to Sphinx documentation, and published to
https://zopetestbrowser.readthedocs.io/ .
* Internal implementation now uses WebTest instead of ``mechanize``.
The ``mechanize`` dependency is completely dropped.
**This is a backwards-incompatible change.**
* Remove APIs:
> ``zope.testbrowser.testing.Browser`` (this is a big one).
* Remove modules:
> ``zope.testbrowser.connection``
* Remove internal classes you were not supposed to use anyway:
> ``zope.testbrowser.testing.PublisherResponse``
> ``zope.testbrowser.testing.PublisherConnection``
> ``zope.testbrowser.testing.PublisherHTTPHandler``
> ``zope.testbrowser.testing.PublisherMechanizeBrowser``
> ``zope.testbrowser.wsgi.WSGIConnection``
> ``zope.testbrowser.wsgi.WSGIHTTPHandler``
> ``zope.testbrowser.wsgi.WSGIMechanizeBrowser``
* Remove internal attributes you were not supposed to use anyway (this
list is not necessarily complete):
> ``Browser._mech_browser``
* Remove setuptools extras:
> ``zope.testbrowser[zope-functional-testing]``
* Changed behavior:
> The testbrowser no longer follows HTML redirects aka
``<meta http-equiv="refresh" ... />``. This was a `mechanize` feature which
does not seem to be provided by `WebTest`.
* Add support for Python 3.3, 3.4 and 3.5.
* Drop support for Python 2.5 and 2.6.
* Drop the ``WebTest <= 1.3.4`` pin. We require ``WebTest >= 2.0.8`` now.
* Remove dependency on deprecated ``zope.app.testing``.
* Bugfix: ``browser.getLink()`` could fail if your HTML contained ``<a>``
elements with no href attribute
(https://github.com/zopefoundation/zope.testbrowser/pull/3).
- Implement single-spec version
-------------------------------------------------------------------
Fri May 15 13:16:56 UTC 2015 - benoit.monin@gmx.fr
- update to version 4.0.4:
* Removed the WebTest <= 1.3.4 version pin, fixed tests to work
with modern WebTest versions (issue #10).
- additional changes from version 4.0.3:
pinning version WebTest <= 1.3.4, because of some
incompatibility and test failures
* Make zope.testbrowser installable via pip (issue #6).
* When Browser.handleErrors is False, also add
x-wsgiorg.throw_errors to the environment.
http://wsgi.org/wsgi/Specifications/throw_errors
* Prevent WebTest from always sending paste.throw_errors=True in
the environment by setting it to None when Browser.handleErrors
is True. This makes it easier to test error pages.
* Made Browser.submit() handle raiseHttpErrors (PR #4).
* More friendly error messages from getControl() et al:
+ when you specify an index that is out of bounds, show the
available choices
+ when you fail to find anything, show all the available items
- switch the source archive to zip (tar.gz not available)
- add unzip to BuildRequires
- add fdupes as BuildRequires and call it after install
- set a minimum version for python-mechanize
- update the test requirements (still commented, the tests fail)
- add the runtime requirements as build requirements to ensure
their availability
- update the documentation files
-------------------------------------------------------------------
Thu Oct 24 11:17:58 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Mon Mar 25 09:00:12 UTC 2013 - speilicke@suse.com
- More on testing
-------------------------------------------------------------------
Fri Mar 15 13:40:57 UTC 2013 - speilicke@suse.com
- Initial version