#NEWLINE# def testAttributeWithTypeAndSubTypes( self ) : #NEWLINE# #INDENT# ai = parseAttributeType ( 'properties' , 'Property(TypedProperty, DescriptiveProperty)' ) #NEWLINE# self . assertEquals ( ai . name , 'properties' ) #NEWLINE# self . assertEquals ( ai . type , 'Property' ) #NEWLINE# self . assertEquals ( ai . list , 0 ) #NEWLINE# self . assertEquals ( ai . enumValues , None ) #NEWLINE# self . assertEquals ( ai . reference , 0 ) #NEWLINE# self . assertEquals ( ai . subTypes , [ 'TypedProperty' , 'DescriptiveProperty' ] )