#NEWLINE# def test_artist_update( self ) : #NEWLINE# #INDENT# url = ( '/artists/%s/' % self . artist . pk ) #NEWLINE# old_name = self . artist . name #NEWLINE# resp = self . put ( url , data = { #NEWLINE# #INDENT# 'name' : '1on4' , #NEWLINE# #UNINDENT# } ) #NEWLINE# nose . eq_ ( resp . status_code , 204 ) #NEWLINE# resp = self . get ( url ) #NEWLINE# nose . ok_ ( resp . status_code , 200 ) #NEWLINE# nose . ok_ ( ( resp . json [ 'name' ] != old_name ) )