diff test/db_test_base.py @ 4082:5eb5f7e66c37

Adjust to new location for templates in source tree.
author Stefan Seefeld <stefan@seefeld.name>
date Fri, 27 Feb 2009 16:15:33 +0000
parents 3dec28d96583
children eddb82d0964c
line wrap: on
line diff
--- a/test/db_test_base.py	Fri Feb 27 16:09:36 2009 +0000
+++ b/test/db_test_base.py	Fri Feb 27 16:15:33 2009 +0000
@@ -55,8 +55,12 @@
     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)

Roundup Issue Tracker: http://roundup-tracker.org/