#NEWLINE# def test_contain_component( self ) : #NEWLINE# #INDENT# components = [ { #NEWLINE# #INDENT# 'name' : 'test_component_type_1:test_component_1' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'name' : 'test_component_type_2:*' , #NEWLINE# #UNINDENT# } ] #NEWLINE# self . assertTrue ( objects . Release . _contain ( components , 'test_component_type_1:test_component_1' ) ) #NEWLINE# self . assertTrue ( objects . Release . _contain ( components , 'test_component_type_2:test_component_3' ) ) #NEWLINE# self . assertFalse ( objects . Release . _contain ( self , 'test_component_type_1:test_component_4' ) )