#NEWLINE# def test_bad_id_token( self ) : #NEWLINE# #INDENT# credentials = self . _generate_credentials ( ) #NEWLINE# credentials . id_token = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# with self . app . test_request_context ( ) : #NEWLINE# #INDENT# self . oauth2 . storage . put ( credentials ) #NEWLINE# self . assertTrue ( ( self . oauth2 . user_id is None ) ) #NEWLINE# self . assertTrue ( ( self . oauth2 . email is None ) )