Remove sqlite_db in set_defaults()
Config option sqlite_db was removed from oslo.db[1]. Unit tests will be
failed if this argument is set, so we shouldn't set its default value.
[1]cc64f70105
Change-Id: I0f84690a538544a76d2ee536e2c6378d91055528
This commit is contained in:
parent
df84bb1d95
commit
6f880c827b
@ -44,9 +44,7 @@ def random_name():
|
||||
|
||||
def setup_dummy_db():
|
||||
options.cfg.set_defaults(options.database_opts, sqlite_synchronous=False)
|
||||
options.set_defaults(cfg.CONF,
|
||||
connection="sqlite://",
|
||||
sqlite_db='bilean.db')
|
||||
options.set_defaults(cfg.CONF, connection="sqlite://")
|
||||
engine = get_engine()
|
||||
db_api.db_sync(engine)
|
||||
engine.connect()
|
||||
|
@ -16,7 +16,6 @@ classifier =
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.4
|
||||
Programming Language :: Python :: 3.5
|
||||
|
||||
[files]
|
||||
|
Loading…
Reference in New Issue
Block a user