[Checkins] [zopefoundation/zope.app.publisher] c2d916: Make XMLRPC testing infrastructure reusable:

Michael Howitz noreply at github.com
Thu Dec 5 09:08:34 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.app.publisher
  Commit: c2d9163a2006b6643970a3f1d77b7f623fe01d01
      https://github.com/zopefoundation/zope.app.publisher/commit/c2d9163a2006b6643970a3f1d77b7f623fe01d01
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/app/publisher/xmlrpc/README.rst
    A src/zope/app/publisher/xmlrpc/testing.py
    M src/zope/app/publisher/xmlrpc/tests/__init__.py
    M src/zope/app/publisher/xmlrpc/tests/test_functional.py

  Log Message:
  -----------
  Make XMLRPC testing infrastructure reusable:

Move it from `.xmlrpc.tests` to `.xmlrpc.testing`.
It now requires the WSGI app to be provided.
Use the `testing` extra from `setup.py` to make use of this testing
infrastructure.


  Commit: 4d2cf7e030dcb90bb393bdc98baf2889ba593af6
      https://github.com/zopefoundation/zope.app.publisher/commit/4d2cf7e030dcb90bb393bdc98baf2889ba593af6
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M src/zope/app/publisher/xmlrpc/testing.py

  Log Message:
  -----------
  Make Python 2.7 happy as it still used an old style class.


  Commit: 14443f44292c047371deb68ae30481ec1544486b
      https://github.com/zopefoundation/zope.app.publisher/commit/14443f44292c047371deb68ae30481ec1544486b
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M src/zope/app/publisher/xmlrpc/testing.py

  Log Message:
  -----------
  Actually use the WSGI app provided to the function.


  Commit: 2f939b31725bbacfcb04d214f1ee8d6cd2a8a764
      https://github.com/zopefoundation/zope.app.publisher/commit/2f939b31725bbacfcb04d214f1ee8d6cd2a8a764
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M src/zope/app/publisher/xmlrpc/README.rst
    M src/zope/app/publisher/xmlrpc/testing.py

  Log Message:
  -----------
  Also handle protocol errors as zope.app.wsgi does it.


  Commit: e92d6bf40ca3793ec3f8857044678a69f4a20320
      https://github.com/zopefoundation/zope.app.publisher/commit/e92d6bf40ca3793ec3f8857044678a69f4a20320
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Improve change log.


  Commit: 903df2a06447831febc06bc25451cd3c6e1d6cb5
      https://github.com/zopefoundation/zope.app.publisher/commit/903df2a06447831febc06bc25451cd3c6e1d6cb5
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/app/publisher/xmlrpc/README.rst
    A src/zope/app/publisher/xmlrpc/testing.py
    M src/zope/app/publisher/xmlrpc/tests/__init__.py
    M src/zope/app/publisher/xmlrpc/tests/test_functional.py

  Log Message:
  -----------
  Merge pull request #8 from zopefoundation/reuse-xmlrpc-test-infrastructure

Make XMLRPC testing infrastructure reusable


Compare: https://github.com/zopefoundation/zope.app.publisher/compare/8e2566388339...903df2a06447


More information about the checkins mailing list