def get_by_name(self, flavor_name):
        flavors = []
        for flavor in self.list():
            if flavor.name == flavor_name:
                flavors.append(flavor)
        return flavors
Test the ability to retrieve teams assigned to a repo.
dataset/ETHPy150Open runabove/python-runabove/runabove/flavor.py/FlavorManager.get_by_name--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_teams