Mercurial > hg > MakeItSo
view tests/test_included.py @ 257:28d76b139fdd
add test for included templates
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 27 May 2017 14:22:41 -0700 |
parents | |
children | e21f013586d0 |
line wrap: on
line source
""" tests for templates included in the package """ included_templates = set(['python-package']) from makeitso.makeitso import get_entry_points def test_included_template(): """ensure we are packaging included template correctly""" # ensure template is present in entry points entry_points = get_entry_points() assert included_templates.issubset(entry_points)