branch | stable |
changeset 5185 | 92376b009b98 |
parent 5169 | 240e21b94a28 |
child 5196 | d14bfd477c44 |
child 5210 | 1c635a91e403 |
--- a/devtools/__init__.py Thu Apr 08 09:59:59 2010 +0200 +++ b/devtools/__init__.py Thu Apr 08 12:32:09 2010 +0200 @@ -158,6 +158,9 @@ sources = super(TestServerConfiguration, self).sources() if not sources: sources = DEFAULT_SOURCES + if sources['system']['db-driver'] == 'sqlite': + # we need an abspath in case tests are changing the cwd + sources['system']['db-name'] = abspath(sources['system']['db-name']) return sources