def get_team(self, organization, team_name='Do Not Delete'):
        for team in organization.teams():
            if team.name == team_name:
                break
        else:
            assert False, 'Could not find team "{0}"'.format(team_name)

        return team
Get the desired team.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_orgs.py/TestOrganization.get_team