Mercurial > hg > MakeItSo
comparison makeitso/python_package/tests/test_{{package}}.py @ 193:a42d1aaa81c3
what i meant
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 08 May 2014 16:55:51 -0700 |
parents | makeitso/python_package/tests/unit.py@e3ba71e7b927 |
children | 2d009a183d53 |
comparison
equal
deleted
inserted
replaced
192:44bd0cc9bbc3 | 193:a42d1aaa81c3 |
---|---|
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 | |
14 class {{package}}UnitTest(unittest.TestCase): | |
15 | |
16 def test_{{package}}(self): | |
17 pass | |
18 | |
19 if __name__ == '__main__': | |
20 unittest.main() |