#NEWLINE# def test_ne( self ) : #NEWLINE# #INDENT# album1 = Album ( name = 'name1' , uri = 'uri1' , artists = [ Artist ( name = 'name1' ) ] , num_tracks = 1 , musicbrainz_id = 'id1' ) #NEWLINE# album2 = Album ( name = 'name2' , uri = 'uri2' , artists = [ Artist ( name = 'name2' ) ] , num_tracks = 2 , musicbrainz_id = 'id2' ) #NEWLINE# self . assertNotEqual ( album2 , album2 ) #NEWLINE# self . assertNotEqual ( hash ( album1 ) , hash ( album2 ) )