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

GitHub noreply at github.com
Fri Jul 21 13:25:52 CEST 2017


  Branch: refs/heads/coverage
  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).


Compare: https://github.com/zopefoundation/zope.error/compare/ad3459fc30ca...f4b29a07625e


More information about the checkins mailing list