#NEWLINE# def test_check_invalid_password( self ) : #NEWLINE# #INDENT# password = '123456' #NEWLINE# password_hash = generate_password_hash ( password ) #NEWLINE# user_data = { #NEWLINE# #INDENT# 'password' : password_hash , #NEWLINE# #UNINDENT# } #NEWLINE# user = User ( ** user ) #NEWLINE# self . assertFalse ( user . check_password ( 'password' ) )