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>
(cherry picked from commit 1b7b3c9474
)
This commit is contained in:
parent
ec9f6fadea
commit
528172f6e4
|
@ -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