def METHOD_NAME(self):
    """Validate handling of potential lsm errors."""
    with patch("blivet.devicelibs.disk._lsm_required._check_avail", return_value=True):
        with patch("blivet.devicelibs.disk.lsm") as _lsm:
            _lsm.LsmError = FakeLsmError
            # verify that we end up with an empty dict if lsm.Client() raises LsmError
            _lsm.Client.side_effect = raise_lsm_error
            disklib.update_volume_info()
            self.assertEqual(disklib.volumes, dict())
            # verify that any error other than LsmError gets raised
            _lsm.Client.side_effect = raise_other_error
            with self.assertRaises(OtherError):
                disklib.update_volume_info()