[Checkins] [zopefoundation/zope.pagetemplate] 67c529: 100% test coverage

GitHub noreply at github.com
Mon Aug 14 18:56:33 CEST 2017


  Branch: refs/heads/coverage
  Home:   https://github.com/zopefoundation/zope.pagetemplate
  Commit: 67c529190c57b5ff47de51694a21a173223da0de
      https://github.com/zopefoundation/zope.pagetemplate/commit/67c529190c57b5ff47de51694a21a173223da0de
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-14 (Mon, 14 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/pagetemplate/engine.py
    M src/zope/pagetemplate/pagetemplate.py
    M src/zope/pagetemplate/pagetemplatefile.py
    M src/zope/pagetemplate/tests/batch.py
    M src/zope/pagetemplate/tests/test_basictemplate.py
    M src/zope/pagetemplate/tests/test_engine.py
    M src/zope/pagetemplate/tests/test_htmltests.py
    M src/zope/pagetemplate/tests/test_ptfile.py
    M src/zope/pagetemplate/tests/util.py
    M tox.ini

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

Fixes #9

Two potentially important changes:

- Removed unused code in the tests/ package. If other packages were
  using it, they will need updates. (They shouldn't be, but that's
  happened before.)
- Changed TraversableModuleImporter to catch ImportError instead of
  KeyError. There's no way the underlying SimpleModuleImporter can
  raise a KeyError anymore. I think this is the desired semantic but I
  am not 100% sure.




More information about the checkins mailing list