#NEWLINE# def test_eq_musibrainz_id( self ) : #NEWLINE# #INDENT# album1 = Album ( musicbrainz_id = 'id' ) #NEWLINE# album2 = Album ( musicbrainz_id = 'id' ) #NEWLINE# self . assertEqual ( album1 , album2 ) #NEWLINE# self . assertEqual ( hash ( album1 ) , hash ( album2 ) )