def METHOD_NAME(self, mock_sudo_retry, mock_subvolume_info):
    """Falls back to calling sudo on permissions errors"""
    mock_subvolume_info.__name__ = "subvolume_info"
    mock_subvolume_info.side_effect = _raw_btrfsutil.BtrfsUtilError(
        errno.EPERM, None
    )
    btrfsutil.subvolume_info("fake-path")
    mock_subvolume_info.assert_called_once()
    mock_sudo_retry.assert_called_once()