#NEWLINE# def test_verify_password_independent_of_salt( webapp ) : #NEWLINE# #INDENT# app = webapp . app #NEWLINE# password = 'hello there' #NEWLINE# with app . app_context ( ) : #NEWLINE# #INDENT# encrypted = encrypt_password ( webapp ) #NEWLINE# #UNINDENT# assert ( encrypted != password ) #NEWLINE# app . config [ 'SECURITY_PASSWORD_SALT' ] = 'some other salt here' #NEWLINE# with app . app_context ( ) : #NEWLINE# #INDENT# assert verify_password ( password , encrypted )