def test_invalidAuthType(self):
        """
        An unrecognized auth type raises an exception.
        """
        iat = getInvalidAuthType()
        self.assertRaises(strcred.InvalidAuthType, strcred.makeChecker, iat)
        self.assertRaises(
            strcred.InvalidAuthType, strcred.findCheckerFactory, iat)

        An unrecognized auth type raises an exception.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/cred/test/test_strcred.py