예제 #1
0
 def setUp(self):
     super(LVMHelperTestCase, self).setUp()
     self.share = fake_share()
     self.fake_conf = configuration.Configuration(None)
     self.fake_conf.container_volume_mount_path = "/tmp/shares"
     self.LVMHelper = storage_helper.LVMHelper(configuration=self.fake_conf)
     self.context = mock.Mock()
예제 #2
0
 def setUp(self):
     super(LVMHelperTestCase, self).setUp()
     self.share = fake_share()
     self.fake_conf = configuration.Configuration(None)
     self.LVMHelper = storage_helper.LVMHelper(configuration=self.fake_conf)