# HG changeset patch # User Sylvain Thénault # Date 1271233869 -7200 # Node ID 385c2351153ec54cda333d185e0d0aacafd0340e # Parent 2af0427e8ead3f0021ac33b2af5c933a420aef46 [testlib] we should not replace db-name in sources, this cause undesired side effect (when running pytest on whole cw for instance). Proper fix in logilab.database diff -r 2af0427e8ead -r 385c2351153e devtools/__init__.py --- a/devtools/__init__.py Wed Apr 14 08:58:57 2010 +0200 +++ b/devtools/__init__.py Wed Apr 14 10:31:09 2010 +0200 @@ -158,9 +158,6 @@ 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