#NEWLINE# def test_artist_deletion( self ) : #NEWLINE# #INDENT# resp = self . post ( '/artists/' , data = self . get_payload ( ) ) #NEWLINE# nose . eq_ ( resp . status_code , 201 ) #NEWLINE# artist_url = ( '/artists/%s/' % resp . json [ 'id' ] ) #NEWLINE# resp = self . delete ( resp ) #NEWLINE# nose . eq_ ( resp . status_code , 204 ) #NEWLINE# resp = self . get ( artist_url ) #NEWLINE# nose . eq_ ( resp . status_code , 404 ) #NEWLINE# resp = self . delete ( artist_url ) #NEWLINE# nose . eq_ ( resp . status_code , 404 )