#NEWLINE# def test_artists( self ) : #NEWLINE# #INDENT# artists = [ Artist ( ) , Artist ( ) , Artist ( ) ] #NEWLINE# result = SearchResult ( artists = artists ) #NEWLINE# self . assertEqual ( list ( result . artists ) , artists ) #NEWLINE# with self . assertRaises ( AttributeError ) : #NEWLINE# #INDENT# result . artists = None