#NEWLINE# def test_update_with_error_resp( self ) : #NEWLINE# #INDENT# err = ErrorResponse ( error = 'invalid_request' ) #NEWLINE# grant = Grant ( ) #NEWLINE# grant . update ( grant ) #NEWLINE# assert ( len ( grant . tokens ) == 0 )