# HG changeset patch # User Jeff Hammel # Date 1495920161 25200 # Node ID 28d76b139fdd3e17c8d12c51763b15ede28bae48 # Parent f10f5beb8ad13e1ffffe04c22d9f4bd54542d78b add test for included templates diff -r f10f5beb8ad1 -r 28d76b139fdd tests/test_included.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_included.py Sat May 27 14:22:41 2017 -0700 @@ -0,0 +1,14 @@ +""" +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)