Fix a bug when unit test use the local conf O
AttributeError: 'Connection' object has no attribute 'iterdump' Change-Id: I1bca4617d6d57dd6d62e38b11a109dc87cc6bfcd
This commit is contained in:
parent
34641efcf5
commit
719a3feb60
|
@ -49,6 +49,8 @@ class Database(fixtures.Fixture):
|
|||
db_options.set_defaults(
|
||||
CONF,
|
||||
connection=connection_str)
|
||||
CONF.set_override('connection', IN_MEM_DB_CONN_STRING,
|
||||
group='database')
|
||||
|
||||
def setup_sqlite(self):
|
||||
models.register_models(self.engine)
|
||||
|
|
Loading…
Reference in New Issue