author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 08 Apr 2010 12:32:09 +0200 | |
branch | stable |
changeset 5185 | 92376b009b98 |
parent 5183 | 8d66003351f8 |
child 5186 | f3c2cb460ad9 |
--- 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