#NEWLINE# def test_init_list( self ) : #NEWLINE# #INDENT# 'List of data objects passed to init auto-added to collection' #NEWLINE# d1 = Data ( ) #NEWLINE# d2 = Data ( ) #NEWLINE# dc = DataCollection ( [ d1 , d2 ] ) #NEWLINE# assert ( d1 in dc ) #NEWLINE# assert ( d2 in dc )