#NEWLINE# def test_reset_password( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/reset_password' ) #NEWLINE# self . assert_200 ( user ) #NEWLINE# data = { #NEWLINE# #INDENT# 'email' : 'demo@example.com' , #NEWLINE# #UNINDENT# } #NEWLINE# user = User . query . filter_by ( email = data . get ( 'email' ) ) . first ( ) #NEWLINE# assert ( user is not None ) #NEWLINE# assert ( user . activation_key is None )