diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/makeitso/python_package/tests/unit.py	Mon Mar 05 15:08:24 2012 -0800
@@ -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()