def METHOD_NAME(self, mock_BlockID, mock_Command_run):
    self.clone_id.get_filesystem.return_value = 'linux_raid_member'
    mock_BlockID.return_value = self.clone_id
    with patch('builtins.open', create=True) as mock_open:
        mock_open.side_effect = Exception
        with raises(KiwiRaidSetupError):
            self.clone_device.clone([self.target_device])