#NEWLINE# def test_invalid_confirmation_token( self ) : #NEWLINE# #INDENT# u1 = User ( password = 'password' ) #NEWLINE# u2 = User ( password = 'notpassword' ) #NEWLINE# db . session . add ( u1 ) #NEWLINE# db . session . add ( u2 ) #NEWLINE# db . session . commit ( ) #NEWLINE# token = u1 . generate_confirmation_token ( ) #NEWLINE# self . assertFalse ( u2 . confirm_account ( token ) )