Mercurial > hg > MakeItSo
view makeitso/python_package/tests/unit.py @ 156:a7a7c364568a
note on importing; cleanup
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 04 Jul 2013 18:24:13 -0700 |
parents | e3ba71e7b927 |
children |
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()