]> git.decadent.org.uk Git - dak.git/commitdiff
Add a base TestCase that we can extend later.
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 23:45:12 +0000 (23:45 +0000)
committerChris Lamb <lamby@debian.org>
Sat, 31 Oct 2009 23:00:12 +0000 (23:00 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
tests/base_test.py [new file with mode: 0644]

diff --git a/tests/base_test.py b/tests/base_test.py
new file mode 100644 (file)
index 0000000..b116e49
--- /dev/null
@@ -0,0 +1,13 @@
+import sys
+import unittest
+
+from os.path import abspath, dirname, join
+
+DAK_ROOT_DIR = dirname(dirname(abspath(__file__)))
+
+class DakTestCase(unittest.TestCase):
+    def setUp(self):
+        pass
+
+if DAK_ROOT_DIR not in sys.path:
+    sys.path.insert(0, DAK_ROOT_DIR)