[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
--- 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