#NEWLINE# def _test_init( self , value ) : #NEWLINE# #INDENT# if ( isinstance ( value , string_types ) or ( value is None ) ) : #NEWLINE# #INDENT# vendor_identification = VendorIdentification ( self ) #NEWLINE# if ( value is None ) : #NEWLINE# #INDENT# value = '' #NEWLINE# #UNINDENT# msg = 'expected {0}, observed {1}' . format ( value , vendor_identification . value ) #NEWLINE# self . assertEqual ( value , vendor_identification . value , msg ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertRaises ( TypeError , VendorIdentification , value )