def __init__(self, parsed_url): super(DirectPublisher, self).__init__(parsed_url) self.meter_conn = database.DatabaseDispatcher(cfg.CONF).meter_conn
def setUp(self): super(TestDispatcherDB, self).setUp() self.CONF = self.useFixture(fixture_config.Config()).conf self.CONF.set_override('connection', 'sqlite://', group='database') self.dispatcher = database.DatabaseDispatcher(self.CONF) self.ctx = None
def setUp(self): super(TestDispatcherDB, self).setUp() self.CONF = self.useFixture(config.Config()).conf self.dispatcher = database.DatabaseDispatcher(self.CONF) self.ctx = None