#NEWLINE# def test_tracks( self ) : #NEWLINE# #INDENT# tracks = [ Track ( ) , Track ( ) , Track ( ) ] #NEWLINE# result = SearchResult ( tracks = tracks ) #NEWLINE# self . assertEqual ( list ( result . tracks ) , tracks ) #NEWLINE# with self . assertRaises ( AttributeError ) : #NEWLINE# #INDENT# result . tracks = None