Fixing DB test after sqlite_db config option was removed
The sqlite_db config option was deprecated and has now been removed from oslo.db which breaks this basic test. We use a simple hardcoded database name instead. Change-Id: I164f3523d3561340bdc85433075f49e551a6a3da Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This commit is contained in:
parent
458c177871
commit
1b7b3c9474
|
@ -105,6 +105,6 @@ class DbTestCase(base.TestCase):
|
|||
if not _DB_CACHE:
|
||||
_DB_CACHE = Database(sqla_api,
|
||||
sql_connection=CONF.database.connection,
|
||||
sqlite_db=CONF.database.sqlite_db,
|
||||
sqlite_db='gluon.sqlite',
|
||||
sqlite_clean_db='clean.sqlite')
|
||||
self.useFixture(_DB_CACHE)
|
||||
|
|
Loading…
Reference in New Issue