Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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)
Ejemplo n.º 4
0
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)
Ejemplo n.º 5
0
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
Ejemplo n.º 6
0

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: