# HG changeset patch # User Jeff Hammel # Date 1495932613 25200 # Node ID 15ade7ad64da5cae7c8d9c4ae77256773ff45996 # Parent e21f013586d01207b7694bc17258719017c48b74 hopefully introduce a failing test for tox install diff -r e21f013586d0 -r 15ade7ad64da tests/test_included.py --- a/tests/test_included.py Sat May 27 15:23:44 2017 -0700 +++ b/tests/test_included.py Sat May 27 17:50:13 2017 -0700 @@ -4,6 +4,7 @@ included_templates = set(['python-package']) +import shutil import tempfile from makeitso.makeitso import get_entry_points @@ -23,3 +24,9 @@ variables = {variable: variable for variable in missing} + # render + tmpdir = tempfile.mkdtemp() + try: + template.substitute(variables, output=tmpdir) + finally: + shutil.rmtree(tmpdir)