#NEWLINE# def test_get_object_type( self ) : #NEWLINE# #INDENT# '\n        Test that the object type can be retrieved from the SecretData.\n        ' #NEWLINE# expected = enums . ObjectType . SECRET_DATA #NEWLINE# key = SecretData ( self . bytes_a , enums . SecretDataType . PASSWORD ) #NEWLINE# observed = key . object_type #NEWLINE# self . assertEqual ( expected , observed )