#NEWLINE# def compare_item( self , item_rsp , attachment ) : #NEWLINE# #INDENT# self . assertEqual ( item_rsp [ 'id' ] , attachment . pk ) #NEWLINE# self . assertEqual ( item_rsp [ 'filename' ] , attachment . filename ) #NEWLINE# self . assertEqual ( item_rsp [ 'revision' ] , attachment . attachment_revision )