#NEWLINE# def test_artist_update_error( self ) : #NEWLINE# #INDENT# url = ( '/artists/%s/' % self . artist . pk ) #NEWLINE# resp = self . put ( url , data = { #NEWLINE# #INDENT# 'name' : '' , #NEWLINE# #UNINDENT# } ) #NEWLINE# nose . eq_ ( resp . status_code , 400 )