changeset 203:84be91d59996

STUB: makeitso/python_package/tests/test_{{package}}.py
author Jeff Hammel <k0scist@gmail.com>
date Tue, 12 Aug 2014 14:53:55 -0700
parents 2d009a183d53
children 388b4bb3516c
files makeitso/python_package/tests/test_{{package}}.py
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makeitso/python_package/tests/test_{{package}}.py	Tue Aug 12 14:50:50 2014 -0700
+++ b/makeitso/python_package/tests/test_{{package}}.py	Tue Aug 12 14:53:55 2014 -0700
@@ -15,7 +15,13 @@
 class {{package}}UnitTest(unittest.TestCase):
 
     def test_{{package}}(self):
-        pass
+        tf = tempfile.mktemp()
+        try:
+            # pass
+            pass
+        finally:
+            if os.path.exists(tf):
+                os.remove(tf)
 
 if __name__ == '__main__':
     unittest.main()