#NEWLINE# def test_name( self ) : #NEWLINE# #INDENT# name = 'a name' #NEWLINE# playlist = Playlist ( name = name ) #NEWLINE# self . assertEqual ( name . name , name ) #NEWLINE# with self . assertRaises ( AttributeError ) : #NEWLINE# #INDENT# playlist . name = None