#NEWLINE# def test_bug_19133( self ) : #NEWLINE# #INDENT# 'The change form does not return the password value' #NEWLINE# user = User . objects . get ( username = 'testclient' ) #NEWLINE# form_for_data = UserChangeForm ( instance = user ) #NEWLINE# post_data = form_for_data . initial #NEWLINE# post_data [ 'password' ] = 'new password' #NEWLINE# form = UserChangeForm ( instance = user , data = post_data ) #NEWLINE# self . assertTrue ( form . is_valid ( ) ) #NEWLINE# self . assertEqual ( form . cleaned_data [ 'password' ] , 'sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161' )