def setUp(self): super(NFSHelperTestCase, self).setUp() fake_utils.stub_out_utils_execute(self.stubs) CONF.set_default('share_export_ip', '127.0.0.1') self._execute = fake_utils.fake_execute self.fake_conf = Configuration(None) self._helper = lvm.NFSHelper(self._execute, self.fake_conf) fake_utils.fake_execute_clear_log()
def tearDown(self): super(GlusterfsShareDriverTestCase, self).tearDown() fake_utils.fake_execute_set_repliers([]) fake_utils.fake_execute_clear_log()
def tearDown(self): super(LVMShareDriverTestCase, self).tearDown() fake_utils.fake_execute_set_repliers([]) fake_utils.fake_execute_clear_log()
def tearDown(self): super(CIFSNetConfHelperTestCase, self).tearDown() fake_utils.fake_execute_set_repliers([]) fake_utils.fake_execute_clear_log()