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