def after_setup(self):
        self.session.has_auth.return_value = False
        self.session.auth = None
Disable authentication on the Session.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_auths.py/TestAuthorizationRequiresAuth.after_setup