[Checkins] [zopefoundation/zope.testbrowser] 148bf4: Implement layer that can be used with inheritance ...

GitHub noreply at github.com
Fri Sep 30 13:42:33 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: 148bf4ac05fe15c5c06809ff2a4569865051db11
      https://github.com/zopefoundation/zope.testbrowser/commit/148bf4ac05fe15c5c06809ff2a4569865051db11
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M setup.py
    M src/zope/testbrowser/tests/test_wsgi.py
    M src/zope/testbrowser/wsgi.py

  Log Message:
  -----------
  Implement layer that can be used with inheritance rather plone.testing.


  Commit: f08950a5d797fcf9a1d7a2c3380f39d63d4fe080
      https://github.com/zopefoundation/zope.testbrowser/commit/f08950a5d797fcf9a1d7a2c3380f39d63d4fe080
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  PEP8


  Commit: 1186edec77fd281b9a2dd846e8c33a3afc38e0b7
      https://github.com/zopefoundation/zope.testbrowser/commit/1186edec77fd281b9a2dd846e8c33a3afc38e0b7
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  Use a contextmanager to setup / teardown layer in tests.


  Commit: b27f4dddbae18acec1e612350425bc21f0f3c120
      https://github.com/zopefoundation/zope.testbrowser/commit/b27f4dddbae18acec1e612350425bc21f0f3c120
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py
    M src/zope/testbrowser/wsgi.py

  Log Message:
  -----------
  Raise `NotImplementedError` if `make_wsgi_app` is not implemented.


  Commit: e3796dc6ac8d20a4086991f802e6a48855e1fa7c
      https://github.com/zopefoundation/zope.testbrowser/commit/e3796dc6ac8d20a4086991f802e6a48855e1fa7c
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/wsgi.py

  Log Message:
  -----------
  Explan rational of `WSGILayer` in docstring.


  Commit: d08e7bfcce2d7e7eef85a53bc5bff2bce180b531
      https://github.com/zopefoundation/zope.testbrowser/commit/d08e7bfcce2d7e7eef85a53bc5bff2bce180b531
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py
    M src/zope/testbrowser/wsgi.py

  Log Message:
  -----------
  Rename `WSGILayer` to `TestBrowserLayer`.


  Commit: dcaf82b076ae8da43e17a5b0a3c827a00bbdb51d
      https://github.com/zopefoundation/zope.testbrowser/commit/dcaf82b076ae8da43e17a5b0a3c827a00bbdb51d
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  Rename test classes.


  Commit: 93c7cf36d3414fbd366e8e507b9d757f89fb13f8
      https://github.com/zopefoundation/zope.testbrowser/commit/93c7cf36d3414fbd366e8e507b9d757f89fb13f8
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  Replace `pass` with docstrings.


  Commit: e34968f64ee2ddd1ef6ced962c0fcc60b78eb51a
      https://github.com/zopefoundation/zope.testbrowser/commit/e34968f64ee2ddd1ef6ced962c0fcc60b78eb51a
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Fix broken code example how to migrate Zope2/3 test.


  Commit: 4763925ca099801057be9012ea02c90a3b10a16b
      https://github.com/zopefoundation/zope.testbrowser/commit/4763925ca099801057be9012ea02c90a3b10a16b
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add missing import.


  Commit: 93ebe5752c159585738ca77352576ef2174bf521
      https://github.com/zopefoundation/zope.testbrowser/commit/93ebe5752c159585738ca77352576ef2174bf521
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M docs/narrative.rst
    M tox.ini

  Log Message:
  -----------
  Explaing usage of the layer with Zope 2/3 in the documentation.


  Commit: 77e0ef533d04f29424fa1dce9f7170c12d4e9f09
      https://github.com/zopefoundation/zope.testbrowser/commit/77e0ef533d04f29424fa1dce9f7170c12d4e9f09
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Revert old-style code example for migration.

- revert the base for the migration to an old-style config, so we don't leave
  affected users out in the cold

- users that already use `zope.app.wsgi.testlayer.BrowserLayer` will find the
  migration easy, so we do not need to provide an extra base for them


  Commit: 82f325170b8c00cad77c70129b12aeed5cb9f0da
      https://github.com/zopefoundation/zope.testbrowser/commit/82f325170b8c00cad77c70129b12aeed5cb9f0da
  Author: Florian Pilz <fp at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
    M CHANGES.rst
    M docs/narrative.rst
    M setup.py
    M src/zope/testbrowser/tests/test_wsgi.py
    M src/zope/testbrowser/wsgi.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #18 from gocept/inheritance-based-layer

Add another Layer to combine with `zope.app.wsgi.testlayer.BrowserLayer`


Compare: https://github.com/zopefoundation/zope.testbrowser/compare/fc951a0616b7...82f325170b8c


More information about the checkins mailing list