comparison makeitso/python_package/tests/test_{{package}}.py @ 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 f7f7831f7c8c
comparison
equal deleted inserted replaced
202:2d009a183d53 203:84be91d59996
13 here = os.path.dirname(os.path.abspath(__file__)) 13 here = os.path.dirname(os.path.abspath(__file__))
14 14
15 class {{package}}UnitTest(unittest.TestCase): 15 class {{package}}UnitTest(unittest.TestCase):
16 16
17 def test_{{package}}(self): 17 def test_{{package}}(self):
18 pass 18 tf = tempfile.mktemp()
19 try:
20 # pass
21 pass
22 finally:
23 if os.path.exists(tf):
24 os.remove(tf)
19 25
20 if __name__ == '__main__': 26 if __name__ == '__main__':
21 unittest.main() 27 unittest.main()