From c9ee48d00c785d75d45c14322d9b53eb46655323 Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 27 Feb 2009 16:15:33 +0000 Subject: [PATCH] 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 --- test/db_test_base.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.30.2