Esempio n. 1
0
 def setUp(self):
     super(TestMacvtapManager, self).setUp()
     with mock.patch.object(ip_lib, 'device_exists', return_value=True):
         self.mgr = macvtap_neutron_agent.MacvtapManager(INTERFACE_MAPPINGS)
 def setUp(self):
     super(MacvtapAgentTestCase, self).setUp()
     self.mgr = macvtap_neutron_agent.MacvtapManager({})