Ejemplo n.º 1
0
 def __init__(self, parsed_url):
     super(DirectPublisher, self).__init__(parsed_url)
     self.meter_conn = database.DatabaseDispatcher(cfg.CONF).meter_conn
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 def setUp(self):
     super(TestDispatcherDB, self).setUp()
     self.CONF = self.useFixture(config.Config()).conf
     self.dispatcher = database.DatabaseDispatcher(self.CONF)
     self.ctx = None