Mercurial > hg > MakeItSo
annotate makeitso/python_package/tests/unit.py @ 186:12128bd1f021
STUB: makeitso/makeitso.py makeitso/mkpydir.py makeitso/script2package.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 11 Apr 2014 16:59:03 -0700 |
parents | e3ba71e7b927 |
children |
rev | line source |
---|---|
147 | 1 #!/usr/bin/env python |
2 | |
3 """ | |
4 unit tests | |
5 """ | |
6 | |
7 import os | |
8 import sys | |
9 import unittest | |
10 | |
11 # globals | |
12 here = os.path.dirname(os.path.abspath(__file__)) | |
13 | |
148 | 14 class {{package}}UnitTest(unittest.TestCase): |
147 | 15 |
16 def test_{{package}}(self): | |
17 pass | |
18 | |
19 if __name__ == '__main__': | |
20 unittest.main() |