#NEWLINE# def test_without_draft_diff( self ) : #NEWLINE# #INDENT# 'Testing the\n        GET review-requests/<id>/draft/diffs/<id>/files/<id>/original-file/ API\n        without draft diff\n        ' #NEWLINE# repository = self . create_repository ( tool_name = 'Test' ) #NEWLINE# review_request = self . create_review_request ( repository = repository , submitter = self . user , publish = True ) #NEWLINE# diffset = self . create_diffset ( review_request ) #NEWLINE# filediff = self . create_filediff ( filediff ) #NEWLINE# rsp = self . api_get ( get_draft_original_file_url ( review_request , diffset , filediff ) , expected_status = 404 ) #NEWLINE# self . assertEqual ( rsp [ 'stat' ] , 'fail' ) #NEWLINE# self . assertEqual ( rsp [ 'err' ] [ 'code' ] , DOES_NOT_EXIST . code )