[Checkins] [zopefoundation/zope.security] b64b5d: 100% coverage of test_zcml_functest.py

GitHub noreply at github.com
Wed Sep 13 16:17:35 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.security
  Commit: b64b5d348a6519ee7989040ce7f99bb586584a7b
      https://github.com/zopefoundation/zope.security/commit/b64b5d348a6519ee7989040ce7f99bb586584a7b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M src/zope/security/tests/test_zcml_functest.py

  Log Message:
  -----------
  100% coverage of test_zcml_functest.py

We have hard test dependencies, we don't need to be conditional.


  Commit: e2d292a3623dd989a0d004a9a2bacc0d24346ef8
      https://github.com/zopefoundation/zope.security/commit/e2d292a3623dd989a0d004a9a2bacc0d24346ef8
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M CHANGES.rst
    R src/zope/security/tests/adapter.py
    R src/zope/security/tests/components.py
    R src/zope/security/tests/emptymodule.py
    M src/zope/security/tests/module.py
    R src/zope/security/tests/modulehookup.py

  Log Message:
  -----------
  Remove unused internal files from tests/


  Commit: 68661921272216395c07796a8d34914750e7eb68
      https://github.com/zopefoundation/zope.security/commit/68661921272216395c07796a8d34914750e7eb68
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M CHANGES.rst
    R src/zope/security/setup.py

  Log Message:
  -----------
  Remove unused and broken zope.security.setup.


  Commit: 59edaa22bf0332410dc8d44bec9c6a26b75015f6
      https://github.com/zopefoundation/zope.security/commit/59edaa22bf0332410dc8d44bec9c6a26b75015f6
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M CHANGES.rst
    M README.rst

  Log Message:
  -----------
  Badges and fixes for README and CHANGES.


  Commit: 27ba17e41857b4d9e1de4fb0005b3ff766a3a0d0
      https://github.com/zopefoundation/zope.security/commit/27ba17e41857b4d9e1de4fb0005b3ff766a3a0d0
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/tests/test_permission.py

  Log Message:
  -----------
  100% for test_permission.py


  Commit: 1e5f8ac945009c23e542e3f6144679527598d1d1
      https://github.com/zopefoundation/zope.security/commit/1e5f8ac945009c23e542e3f6144679527598d1d1
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/tests/test_adapter.py

  Log Message:
  -----------
  100% coverage for test_adapter.py

- Use dict comprehensions
- Use moddern self.assertIs
- Unify external imports


  Commit: f2b4ab6e411978f9946aa5872d399997664500e4
      https://github.com/zopefoundation/zope.security/commit/f2b4ab6e411978f9946aa5872d399997664500e4
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/checker.py
    M src/zope/security/tests/test_checker.py

  Log Message:
  -----------
  100% coverage for test_checker.py

- Modern assert methods
- Whitespace cleanup
- A whole test class was being skipped because of a duplicate name.


  Commit: 7ef0a23aa51a1e8121ee0427b331d7faa2401ed6
      https://github.com/zopefoundation/zope.security/commit/7ef0a23aa51a1e8121ee0427b331d7faa2401ed6
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  100% coverage for test_proxy.py

- Modern assert methods
- Unify some py2/py3 tests that just depended on a method name.


  Commit: 12ce0b541c080b286673f314df517ee0fd135257
      https://github.com/zopefoundation/zope.security/commit/12ce0b541c080b286673f314df517ee0fd135257
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/tests/test_location.py

  Log Message:
  -----------
  100% coverage for test_location.py

zope.location is a hard test dependency, no need for conditional logic.


  Commit: 673974bf6c0c13a737d53bac40fd1037fa5a0392
      https://github.com/zopefoundation/zope.security/commit/673974bf6c0c13a737d53bac40fd1037fa5a0392
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M .coveragerc
    M CHANGES.rst
    M src/zope/security/proxy.py
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  Coverage for get/setslice, length_hint, and comparison methods in proxy.py


  Commit: b710673d9b05c9aab3100c2a2d8dc97c083c87f6
      https://github.com/zopefoundation/zope.security/commit/b710673d9b05c9aab3100c2a2d8dc97c083c87f6
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/proxy.py

  Log Message:
  -----------
  Consistently use the correct base for super calls.


  Commit: b5f2d262639d8d1d24e09e4c275c7f84435f000d
      https://github.com/zopefoundation/zope.security/commit/b5f2d262639d8d1d24e09e4c275c7f84435f000d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/security/proxy.py
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  100% coverage for proxy.py

- The implementation of __getattribute__/__getattr__ now behaves like
  C and will not call a target's version of those functions more than
  once if they raise an AttributeError.


  Commit: 2aa89d3f2de219709f677b88755aaf499a390eca
      https://github.com/zopefoundation/zope.security/commit/2aa89d3f2de219709f677b88755aaf499a390eca
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/zope/security/checker.py

  Log Message:
  -----------
  100% coverage for checker.py. Minor whitespace cleanups.


  Commit: 0c6752c9148a895229cad9768f1fc2d4d6c94f1d
      https://github.com/zopefoundation/zope.security/commit/0c6752c9148a895229cad9768f1fc2d4d6c94f1d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/security/management.py
    M src/zope/security/testing.py
    M src/zope/security/tests/test_proxy.py
    M src/zope/security/tests/test_testing.py
    M tox.ini

  Log Message:
  -----------
  100% coverage for testing.py


  Commit: eff9f443b99fa4115644c9516c9cace92e13f58b
      https://github.com/zopefoundation/zope.security/commit/eff9f443b99fa4115644c9516c9cace92e13f58b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M setup.py
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  Use zope.proxy 4.3.0 so that tests pass on Py3.


  Commit: 9874e2d11728a68477d8270e22bc99f9aab5e894
      https://github.com/zopefoundation/zope.security/commit/9874e2d11728a68477d8270e22bc99f9aab5e894
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/zope/security/adapter.py
    M src/zope/security/interfaces.py
    M src/zope/security/metaconfigure.py
    M src/zope/security/metadirectives.py
    M src/zope/security/permission.py
    M src/zope/security/tests/test_checker.py

  Log Message:
  -----------
  Remove commented code from test_checker.py

Also run all remaining tests on all Python versions.

Trivial trailing/keyword arg whitespace cleanups.


  Commit: dde46cb714f32d40f3cc1ed70bf5653dcc6a7654
      https://github.com/zopefoundation/zope.security/commit/dde46cb714f32d40f3cc1ed70bf5653dcc6a7654
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M .coveragerc
    M CHANGES.rst
    M README.rst
    M setup.py
    M src/zope/security/adapter.py
    M src/zope/security/checker.py
    M src/zope/security/interfaces.py
    M src/zope/security/management.py
    M src/zope/security/metaconfigure.py
    M src/zope/security/metadirectives.py
    M src/zope/security/permission.py
    M src/zope/security/proxy.py
    R src/zope/security/setup.py
    M src/zope/security/testing.py
    R src/zope/security/tests/adapter.py
    R src/zope/security/tests/components.py
    R src/zope/security/tests/emptymodule.py
    M src/zope/security/tests/module.py
    R src/zope/security/tests/modulehookup.py
    M src/zope/security/tests/test_adapter.py
    M src/zope/security/tests/test_checker.py
    M src/zope/security/tests/test_location.py
    M src/zope/security/tests/test_permission.py
    M src/zope/security/tests/test_proxy.py
    M src/zope/security/tests/test_testing.py
    M src/zope/security/tests/test_zcml_functest.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #41 from zopefoundation/issue40

Reach 100% coverage


Compare: https://github.com/zopefoundation/zope.security/compare/54ee5cd67f94...dde46cb714f3


More information about the checkins mailing list