view makeitso/python_package/tests/test_{{package}}.py @ 201:65684aae6bfe

make unittest template smarter
author Jeff Hammel <k0scist@gmail.com>
date Wed, 09 Jul 2014 15:48:41 -0700
parents a42d1aaa81c3
children 2d009a183d53
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()