changeset 147:bdf4049e83ea

add a unit test skeleton
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Mar 2012 15:08:24 -0800
parents ebaee69c5ea4
children e3ba71e7b927
files makeitso/python_package/tests/unit.py
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
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()