示例#1
0
 def setUp(self):
     super(TestVolumeSnapshotSizePollster, self).setUp()
     conf = service.prepare_service([], [])
     self.CONF = self.useFixture(fixture_config.Config(conf)).conf
     self.manager = manager.AgentManager(0, self.CONF)
     self.pollster = cinder.VolumeSnapshotSize(self.CONF)
示例#2
0
 def setUp(self):
     super(TestVolumeSnapshotSizePollster, self).setUp()
     conf = service.prepare_service([], [])
     self.manager = manager.AgentManager(0, conf)
     self.pollster = cinder.VolumeSnapshotSize(conf)
示例#3
0
 def setUp(self):
     super(TestVolumeSnapshotSizePollster, self).setUp()
     self.CONF = self.useFixture(fixture_config.Config()).conf
     self.manager = manager.AgentManager(0, self.CONF)
     self.pollster = cinder.VolumeSnapshotSize(self.CONF)