#NEWLINE# def test_autotype_sha224( self ) : #NEWLINE# #INDENT# '56-character hash is assumed to be SHA-224' #NEWLINE# h = Hash ( EMPTY_SHA224 ) #NEWLINE# self . assertEqual ( h . type_ , Hash . TYPE_SHA224 ) #NEWLINE# h2 = Hash ( h . sha224 ) #NEWLINE# self . assertEqual ( h2 . type_ , Hash . TYPE_SHA224 )