#NEWLINE# def test_str( self ) : #NEWLINE# #INDENT# '\n        Test that str can be applied to a SecretData.\n        ' #NEWLINE# key = SecretData ( self . bytes_a , enums . SecretDataType . PASSWORD ) #NEWLINE# expected = str ( binascii . hexlify ( self . bytes_a ) ) #NEWLINE# observed = str ( key ) #NEWLINE# self . assertEqual ( expected , observed )