コード例 #1
0
 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()
コード例 #2
0
 def setUp(self):
     self.useFixture(base.OpenDaylightJournalThreadFixture())
     super(OpenDaylightQosDriverTestCase, self).setUp()
     self.qos_driver = qos_driver.OpenDaylightQosDriver({})
     self.addCleanup(odl_features.deinit)
コード例 #3
0
 def setUp(self):
     self.useFixture(base.OpenDaylightJournalThreadFixture())
     super(OpenDaylightQosDriverTestCase, self).setUp()
     self.qos_driver = qos_driver.OpenDaylightQosDriver()