#NEWLINE# def test_empty_permitted( self ) : #NEWLINE# #INDENT# '\n        Regression test for #10643: the security hash should allow forms with\n        empty_permitted = True, or forms where data has not changed.\n        ' #NEWLINE# f1 = HashTestBlankForm ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# f2 = HashTestForm ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , empty_permitted = True ) #NEWLINE# hash1 = utils . security_hash ( None , f1 ) #NEWLINE# hash2 = utils . security_hash ( None , f2 ) #NEWLINE# self . assertEqual ( hash1 , hash2 )