Mercurial > hg > MakeItSo
view makeitso/python_package/tests/unit.py @ 147:bdf4049e83ea
add a unit test skeleton
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 05 Mar 2012 15:08:24 -0800 |
parents | |
children | e3ba71e7b927 |
line wrap: on
line source
#!/usr/bin/env python """ unit tests """ import os import sys import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class {{Package}}UnitTest(unittest.TestCase): def test_{{package}}(self): pass if __name__ == '__main__': unittest.main()