diff makeitso/python.py @ 200:5a2edca13b36

wip
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Jun 2014 11:44:43 -0700
parents 9b78f52afe4e
children 65684aae6bfe
line wrap: on
line diff
--- a/makeitso/python.py	Thu Jun 12 09:57:40 2014 -0700
+++ b/makeitso/python.py	Tue Jun 24 11:44:43 2014 -0700
@@ -32,6 +32,10 @@
     """template for setup.py"""
     templates = [('python_package', 'setup.py')]
 
+class Unittest(MakeItSoTemplate):
+    """template for python unittest"""
+    templates = [('python_package', 'tests', 'test_{{package}}.py')]
+
 class PythonTemplate(MakeItSoTemplate):
   """abstract base class for python-type templates"""
   vars = [Variable('description'),