def test_teams_requires_auth(self):
        self.session.has_auth.return_value = False

        with pytest.raises(GitHubError):
            self.instance.teams()
Show that one must be authenticated to retrieve an org's teams.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_orgs.py/TestOrganizationIterator.test_teams_requires_auth