[Checkins] [zopefoundation/zope.error] 112fc6: 100% test coverage.

GitHub noreply at github.com
Fri Jul 21 13:50:47 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.error
  Commit: 112fc6e20af9712fe039fc61f13ff4df849c14c7
      https://github.com/zopefoundation/zope.error/commit/112fc6e20af9712fe039fc61f13ff4df849c14c7
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M .gitignore
    M src/zope/error/_compat.py
    M src/zope/error/error.py
    M src/zope/error/tests.py

  Log Message:
  -----------
  100% test coverage.

Builds on #5 because that's what enabled coverage in the first place.

- Added missing tests.
- Whitespace cleanup in errors.py and tests.py.
- Replace branches in _compat.py with imports from six for coverage
  reasons. This may eventually be completely replaced by #7.
- The zope.testing cleanup function resets properties of the
  globalErrorReportingUtility (necessary because we have test cases
  that change them).


  Commit: f4b29a07625e72b373643d880cc700d0abbf11d5
      https://github.com/zopefoundation/zope.error/commit/f4b29a07625e72b373643d880cc700d0abbf11d5
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M src/zope/error/tests.py

  Log Message:
  -----------
  Inline last remaining version-specific branch, getting to 100% coverage in a single process (though not true 100% branch coverage).


  Commit: d739c80e461ae865f90ffcaee735e7cc6e5f8015
      https://github.com/zopefoundation/zope.error/commit/d739c80e461ae865f90ffcaee735e7cc6e5f8015
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M src/zope/error/error.py

  Log Message:
  -----------
  Reverse sense of comparison for readability.


  Commit: 202a0d9be78a1a63624d934674651499ea5093cc
      https://github.com/zopefoundation/zope.error/commit/202a0d9be78a1a63624d934674651499ea5093cc
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add change note.


  Commit: 87eb7146c8e059fe400a57156374fe5788ac197f
      https://github.com/zopefoundation/zope.error/commit/87eb7146c8e059fe400a57156374fe5788ac197f
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M src/zope/error/tests.py

  Log Message:
  -----------
  Add HTML tests to request.items() formatting.


  Commit: a3a01f1e7a2e0df87b9b082fd2e9892e48538d79
      https://github.com/zopefoundation/zope.error/commit/a3a01f1e7a2e0df87b9b082fd2e9892e48538d79
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-07-21 (Fri, 21 Jul 2017)

  Changed paths:
    M .gitignore
    M CHANGES.rst
    M src/zope/error/_compat.py
    M src/zope/error/error.py
    M src/zope/error/tests.py

  Log Message:
  -----------
  Merge pull request #8 from zopefoundation/coverage

100% test coverage. 


Compare: https://github.com/zopefoundation/zope.error/compare/6652f9fbabbc...a3a01f1e7a2e


More information about the checkins mailing list