Remove old configuration metering_storage_engine
This is useless now. Change-Id: I195cc626a6ae2d65535362c67f53663551933f9e Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4125b9e7c6
commit
346c4248e4
@ -38,7 +38,6 @@ class TestBase(test_base.TestCase):
|
||||
def setUp(self):
|
||||
super(TestBase, self).setUp()
|
||||
self.conf = mock.Mock()
|
||||
self.conf.metering_storage_engine = 'mongodb'
|
||||
self.conf.database_connection = 'mongodb://localhost/%s' % self.DBNAME
|
||||
self.conn = TestConnection(self.conf)
|
||||
self.conn.drop_database(self.DBNAME)
|
||||
|
@ -25,7 +25,6 @@ from ceilometer.storage import impl_log
|
||||
|
||||
def test_get_connection():
|
||||
conf = mox.Mox().CreateMockAnything()
|
||||
conf.metering_storage_engine = 'log'
|
||||
log_stg = impl_log.LogStorage()
|
||||
conn = log_stg.get_connection(conf)
|
||||
conn.record_metering_data({'counter_name': 'test',
|
||||
|
@ -32,7 +32,6 @@ class RegisterOpts(test_base.TestCase):
|
||||
|
||||
def test_register_opts(self):
|
||||
self.stubs.Set(storage, 'get_engine', self.faux_get_engine)
|
||||
cfg.CONF.metering_storage_engine = 'log'
|
||||
self._faux_engine = self.mox.CreateMock(base.StorageEngine)
|
||||
self._faux_engine.register_opts(cfg.CONF)
|
||||
self.mox.ReplayAll()
|
||||
|
Loading…
Reference in New Issue
Block a user