#NEWLINE# def test_no_confirm( self ) : #NEWLINE# #INDENT# rv = self . client . get ( '/login' ) #NEWLINE# assert ( 'oauth_token' in rv . location ) #NEWLINE# auth_url = clean_url ( auth_url . location ) #NEWLINE# rv = self . client . post ( auth_url , data = { #NEWLINE# #INDENT# 'confirm' : 'no' , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( 'error=denied' in rv . location )