Mercurial > hg > MakeItSo
changeset 193:a42d1aaa81c3
what i meant
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 08 May 2014 16:55:51 -0700 |
parents | 44bd0cc9bbc3 |
children | 41d17337656a |
files | makeitso/python_package/tests/test_{{package}}.py makeitso/python_package/tests/unit.py |
diffstat | 2 files changed, 20 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/makeitso/python_package/tests/test_{{package}}.py Thu May 08 16:55:51 2014 -0700 @@ -0,0 +1,20 @@ +#!/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()
--- a/makeitso/python_package/tests/unit.py Thu May 08 16:55:28 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#!/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()