def detach_log(request, case_run_id, link_id): """Remove log link to TestCaseRun :param int case_run_id: case run ID. :param int link_id: case run ID. """ TestCaseRun.objects.get(pk=case_run_id) LinkReference.unlink(link_id)
def detach_log(request, case_run_id, link_id): """ Description: Remove log link to TestCaseRun Params: $case_run_id - Integer $link_id - Integer: Id of LinkReference instance """ TestCaseRun.objects.get(pk=case_run_id) LinkReference.unlink(link_id)
def detach_log(request, case_run_id, link_id): """ Description: Remove log link to TestCaseRun Params: $case_run_id - Integer $link_id - Integer: Id of LinkReference instance """ try: test_case_run = TestCaseRun.objects.get(pk=case_run_id) except ObjectDoesNotExist: raise try: LinkReference.unlink(link_id) except: raise return
def detach_log(request, case_run_id, link_id): """ Description: Remove log link to TestCaseRun Params: $case_run_id - Integer $link_id - Integer: Id of LinkReference instance """ try: test_case_run = TestCaseRun.objects.get(pk=case_run_id) except ObjectDoesNotExist, error: raise try: LinkReference.unlink(link_id) except: raise return def get_logs(request, case_run_id): """ Description: Get log links to TestCaseRun Params: $case_run_id - Integer: """ try: test_case_run = TestCaseRun.objects.get(pk=case_run_id) except ObjectDoesNotExist, error: