def METHOD_NAME():
    """git tags can be UTF-8 encoded"""
    with mock.patch(
        "dulwich.client.get_transport_and_path",
        autospec=True,
        return_value=(
            mock.Mock(
                **{"fetch_pack.return_value": {"☃".encode("UTF-8"): b"deadbeef"}}
            ),
            "path",
        ),
    ):
        with mock.patch("time.sleep", autospec=True):
            ret = remote_git.list_remote_refs("git-url")
            assert ret == {"☃": "deadbeef"}