Zope.testbrowser

Latest version: v6.0

Safety actively analyzes 625610 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

4.0.3

------------------

- pinning version 'WebTest <= 1.3.4', because of some incompatibility and
test failures

- Make zope.testbrowser installable via pip
(https://github.com/zopefoundation/zope.testbrowser/issues/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.

- Make Browser.submit() handle ``raiseHttpErrors``
(https://github.com/zopefoundation/zope.testbrowser/pull/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

4.0.2

------------------

- Remove test dependency on zope.pagetemplate.

4.0.1

------------------

- Add a hint in documentation how to use ``zope.testbrowser.wsgi.Browser``
to test a Zope 2/Zope 3/Bluebream WSGI application.

4.0.0

------------------

- LP 721252: AmbiguityError now shows all matching controls.

- Integrate with WebTest. ``zope.testbrowser.wsgi.Browser`` is a
``Browser`` implementation that uses ``webtest.TestApp`` to drive a WSGI
application. This this replaces the wsgi_intercept support added in 3.11.

- Re-write the test application as a pure WSGI application using WebOb. Run the
existing tests using the WebTest based Browser

- Move zope.app.testing based Browser into ``zope.app.testing`` (leaving
backwards compatibility imports in-place). Released in ``zope.app.testing``
3.9.0.

3.11.1

-------------------

- Fixing brown bag release 3.11.0.

3.11.0

-------------------

- Add ``wsgi_intercept`` support (came from ``zope.app.wsgi.testlayer``).

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.