예제 #1
0
 def setUp(self):
     super(TestLocalnodeDiscovery, self).setUp()
     CONF = service.prepare_service([], [])
     self.discovery = localnode.LocalNodeDiscovery(CONF)
     self.manager = mock.MagicMock()
예제 #2
0
 def setUp(self):
     super(TestLocalnodeDiscovery, self).setUp()
     self.CONF = self.useFixture(fixture_config.Config()).conf
     self.discovery = localnode.LocalNodeDiscovery(self.CONF)
     self.manager = mock.MagicMock()
예제 #3
0
 def setUp(self):
     super(TestLocalnodeDiscovery, self).setUp()
     self.discovery = localnode.LocalNodeDiscovery()
     self.manager = mock.MagicMock()
예제 #4
0
 def setUp(self):
     super(TestLocalnodeDiscovery, self).setUp()
     conf = service.prepare_service([], [])
     self.CONF = self.useFixture(fixture_config.Config(conf)).conf
     self.discovery = localnode.LocalNodeDiscovery(self.CONF)
     self.manager = mock.MagicMock()