From: Chris Lamb Date: Fri, 30 Oct 2009 23:45:12 +0000 (+0000) Subject: Add a base TestCase that we can extend later. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0186e28c1d365df2131a3993b6f214a9bfe71a3a;p=dak Add a base TestCase that we can extend later. Signed-off-by: Chris Lamb --- diff --git a/tests/base_test.py b/tests/base_test.py new file mode 100644 index 00000000..b116e498 --- /dev/null +++ b/tests/base_test.py @@ -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)