def METHOD_NAME(self, tmp_path):
    with chdir(tmp_path):
        repo = FakeEclassRepo(
            str(tmp_path),
            {
                "foo": FOO_ECLASS,
                "bar": make_eclass("bar", provides="deep1 deep2"),
                "deep1": make_eclass("deep1 deep2"),
                "deep2": make_eclass("deep2 foo"),
            },
        )
        assert sorted(
            eclass.EclassDoc(
                repo.eclass_cache.get_eclass("foo").path, repo=repo
            ).provides
        ) == ["bar", "deep1", "deep2"]