#NEWLINE# def test_crawl_change_name( self ) : #NEWLINE# #INDENT# response = self . client . patch ( ( self . url + ( '%d/' % self . test_nutch_crawl . id ) ) , { #NEWLINE# #INDENT# 'name' : 'new name' , #NEWLINE# #UNINDENT# } , format = 'json' ) #NEWLINE# assert ( json . loads ( response . content ) [ 'name' ] == 'new name' )