def _build(self, *coreList):
        recipe = (
"""
class TestRecipe(GroupSetRecipe):
    name = "group-test"
    version = "1.0"
    clearBuildReqs()

    def setup(r):
        world = r.Repository(r.labelPath[0], r.flavor)
%s
""" % "\n".join(["        %s" % x for x in coreList ]))
        grp = self.build(recipe, "TestRecipe")

        repos = self.openRepository()
        return repos.getTrove('group-test', grp.getVersion(), grp.getFlavor())
dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/buildtest/groupsettest.py/GroupSetTest._build/original