#NEWLINE# def check_post_result( self , user , rsp ) : #NEWLINE# #INDENT# self . assertIn ( 'webhook' , rsp ) #NEWLINE# item_rsp = rsp [ 'webhook' ] #NEWLINE# self . compare_item ( user , WebHookTarget . objects . get ( pk = item_rsp [ 'id' ] ) )