Code

Adjust to new location for templates in source tree.
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 27 Feb 2009 16:15:33 +0000 (16:15 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 27 Feb 2009 16:15:33 +0000 (16:15 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4174 57a73879-2fb5-44c3-a270-3262357dd7e2

test/db_test_base.py

index 20bdafbab6dd08c3a759903ff59b90b3f5191ce8..94d34d333960e28c197ff282518bfb7217f29950 100644 (file)
@@ -55,8 +55,12 @@ def setupTracker(dirname, backend="anydbm"):
     except OSError, error:
         if error.errno not in (errno.ENOENT, errno.ESRCH): raise
     # create the instance
-    init.install(dirname, os.path.join(os.path.dirname(__file__), '..',
-        'templates/classic'))
+    init.install(dirname, os.path.join(os.path.dirname(__file__),
+                                       '..',
+                                       'share',
+                                       'roundup',
+                                       'templates',
+                                       'classic'))
     init.write_select_db(dirname, backend)
     config.save(os.path.join(dirname, 'config.ini'))
     tracker = instance.open(dirname)