def METHOD_NAME(self, tmp_path):
    # repo priority sorting and dir/symlink scanning
    (repos_conf_dir := tmp_path / "repos.conf").mkdir()
    shutil.copyfile(
        pjoin(const.CONFIG_PATH, "repos.conf"), repos_conf_dir / "repos.conf"
    )
    (repos_conf_sym := tmp_path / "repos.conf.sym").symlink_to(repos_conf_dir)
    (repos_conf_sym / "file").write_text(
        textwrap.dedent(
            """\
        [bar]
        location = /var/gentoo/repos/bar
        [foo]
        location = /var/gentoo/repos/foo
        priority = 10"""
        )
    )
    defaults, repos = load_repos_conf(repos_conf_dir)
    sym_defaults, sym_repos = load_repos_conf(repos_conf_sym)
    assert defaults == sym_defaults
    assert repos == sym_repos
    assert defaults["main-repo"] == "gentoo"
    assert list(repos.keys()) == ["foo", "bar", "gentoo", "binpkgs"]