def setUp(self):
     super(TestNeutronClient, self).setUp()
     self._neutron = neutron_client.NeutronAPIClient()
 def __init__(self):
     super(HNVAgent, self).__init__()
     # Handle updates from service
     self._agent_id = 'hnv_%s' % platform.node()
     self._neutron_client = neutron_client.NeutronAPIClient()
 def __init__(self):
     self._context = context.get_admin_context_without_session()
     self._neutron_client = neutron_client.NeutronAPIClient()
 def setUp(self):
     super(TestNeutronClient, self).setUp()
     self._neutron = neutron_client.NeutronAPIClient()
     self._neutron._client = mock.MagicMock()