def setUp(self): super(OpendaylightQosDriverTestCase, self).setUp() self.db_session = neutron_db_api.get_session() self.qos_driver = qos_driver.OpenDaylightQosDriver() self.mock_sync_thread = mock.patch.object( journal.OpendaylightJournalThread, 'start_odl_sync_thread').start()
def setUp(self): self.useFixture(base.OpenDaylightJournalThreadFixture()) super(OpenDaylightQosDriverTestCase, self).setUp() self.qos_driver = qos_driver.OpenDaylightQosDriver({}) self.addCleanup(odl_features.deinit)
def setUp(self): self.useFixture(base.OpenDaylightJournalThreadFixture()) super(OpenDaylightQosDriverTestCase, self).setUp() self.qos_driver = qos_driver.OpenDaylightQosDriver()