comparison 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
comparison
equal deleted inserted replaced
256:f10f5beb8ad1 257:28d76b139fdd
1 """
2 tests for templates included in the package
3 """
4
5 included_templates = set(['python-package'])
6
7 from makeitso.makeitso import get_entry_points
8
9 def test_included_template():
10 """ensure we are packaging included template correctly"""
11
12 # ensure template is present in entry points
13 entry_points = get_entry_points()
14 assert included_templates.issubset(entry_points)