def test_check_volume_presence_error(self): gmgr = common.GlusterManager('[email protected]') self.assertRaises( exception.GlusterfsException, common._check_volume_presence(mock.Mock()), gmgr)
def test_check_volume_presence_error(self): gmgr = common.GlusterManager('[email protected]') self.assertRaises( exception.GlusterfsException, common._check_volume_presence(mock.Mock()), gmgr)
def test_check_volume_presence(self): common._check_volume_presence(mock.Mock())(self._gluster_manager)
def test_check_volume_presence(self): common._check_volume_presence(mock.Mock())(self._gluster_manager)