From: stefan Date: Fri, 27 Feb 2009 16:15:33 +0000 (+0000) Subject: Adjust to new location for templates in source tree. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9ee48d00c785d75d45c14322d9b53eb46655323;p=roundup.git Adjust to new location for templates in source tree. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4174 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/db_test_base.py b/test/db_test_base.py index 20bdafb..94d34d3 100644 --- a/test/db_test_base.py +++ b/test/db_test_base.py @@ -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)