From f324af240105ecce8b18cda97ce8a87a353bc8e5 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 21 Nov 2012 12:15:20 +0000 Subject: Move sql options to nova.db.sqlalchemy.session With a few minor exceptions, the sql config options are used solely within the nova.db.sqlalchemy.session module so it makes sense to move their declaration into that module. Change-Id: Iea9c2bb000cd713b01750ab3e796132ebeaa4ca8 --- nova/tests/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nova/tests') diff --git a/nova/tests/__init__.py b/nova/tests/__init__.py index d7edb7cf6..6e19e6dc2 100644 --- a/nova/tests/__init__.py +++ b/nova/tests/__init__.py @@ -41,8 +41,8 @@ import eventlet eventlet.monkey_patch(os=False) CONF = cfg.CONF -CONF.import_opt('sql_connection', 'nova.config') -CONF.import_opt('sqlite_db', 'nova.config') +CONF.import_opt('sql_connection', 'nova.db.sqlalchemy.session') +CONF.import_opt('sqlite_db', 'nova.db.sqlalchemy.session') CONF.import_opt('state_path', 'nova.config') CONF.set_override('use_stderr', False) -- cgit