Just call register_opts in tests
register_opts already registers options for stores as well. Just call that function instead of calling register_store_opts too. Change-Id: I7726c098fec1160549251b3dd30ae02bd89bcadc
This commit is contained in:
parent
e9e35c49a9
commit
01033f5c64
|
@ -194,7 +194,6 @@ class ApiTest(test_utils.BaseTestCase):
|
|||
|
||||
def _setup_stores(self):
|
||||
glance_store.register_opts(CONF)
|
||||
glance_store.register_store_opts(CONF)
|
||||
|
||||
image_dir = os.path.join(self.test_dir, "images")
|
||||
self.config(group='glance_store',
|
||||
|
|
|
@ -190,7 +190,6 @@ class ApiTest(test_utils.BaseTestCase):
|
|||
|
||||
def _setup_stores(self):
|
||||
glance_store.register_opts(CONF)
|
||||
glance_store.register_store_opts(CONF)
|
||||
|
||||
image_dir = os.path.join(self.test_dir, "images")
|
||||
self.config(group='glance_store',
|
||||
|
|
Loading…
Reference in New Issue