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:
Flavio Percoco 2014-09-09 10:54:48 +02:00 committed by Flavio Percoco
parent e9e35c49a9
commit 01033f5c64
2 changed files with 0 additions and 2 deletions

View File

@ -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',

View File

@ -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',