changeset 259:15ade7ad64da

hopefully introduce a failing test for tox install
author Jeff Hammel <k0scist@gmail.com>
date Sat, 27 May 2017 17:50:13 -0700
parents e21f013586d0
children bcf5c438a480
files tests/test_included.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)