(self, assertion, audience, **kwargs)
Mock-verify an assertion. The return value is determined by the parameters given to the
        constructor.
Mock-verify an assertion. The return value is determined by the parameters given to the
        constructor.
Mock - verify an assertion . The return value is determined by the parameters given to the constructor .
def verify(self, assertion, audience, **kwargs):
        """
        Mock-verify an assertion. The return value is determined by the parameters given to the
        constructor.
        """
        if not self.email:
            return VerificationResult({
                'status': 'failure',
                'reason': 'No email given to MockVerifier.'
            })
        else:
            result = {
                'status': 'okay',
                'audience': audience,
                'email': self.email,
                'issuer': 'mockissuer.example.com:443',
                'expires': '1311377222765'
            }
            result.update(self.result_attributes)
            return VerificationResult(result)
def verify ( self , assertion , audience , * * kwargs ) : if not self . email : return VerificationResult ( { 'status' : 'failure' , 'reason' : 'No email given to MockVerifier.' } ) else : result = { 'status' : 'okay' , 'audience' : audience , 'email' : self . email , 'issuer' : 'mockissuer.example.com:443' , 'expires' : '1311377222765' } result . update ( self . result_attributes ) return VerificationResult ( result )