parameters: (self, assertion, audience, **kwargs)
docstring: Mock-verify an assertion. The return value is determined by the parameters given to the
          constructor.
docstring_summary: Mock-verify an assertion. The return value is determined by the parameters given to the
          constructor.
docstring_tokens: Mock - verify an assertion . The return value is determined by the parameters given to the constructor .
function: 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)
function_tokens: 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 )