#NEWLINE# def test_get_js_view_data( self ) : #NEWLINE# #INDENT# 'Testing FileAttachmentReviewUI sandboxes get_js_view_data' #NEWLINE# review_ui = self . file_attachment2 . review_ui #NEWLINE# request = self . factory . get ( 'test' ) #NEWLINE# request . user = self . user #NEWLINE# self . spy_on ( review_ui . get_js_view_data ) #NEWLINE# review_ui . render_to_response ( request = request ) #NEWLINE# self . assertTrue ( review_ui . get_js_view_data . called )