def test():

    com = Common()

    print('------- start the test -------')

    primary_ids = com.order_using_lims_web_api("case_0_lims_id", 1)
    print(primary_ids)
    ##time.sleep(10)
    com.cancel_from_primary_ids(primary_ids)

    print('------- test is done -------')
예제 #2
0
def test():

    com = Common()

    print('------- start the test -------')

    primary_ids = com.order_using_lims_web_api(
        'case_91_lims_id_plus_serial_number', 2)
    print(primary_ids)
    time.sleep(5)
    com.cancel_from_primary_ids(primary_ids)

    print('------- test is done -------')
def test():

    com = Common()

    print('------- start the test -------')

    assert False, 'this test fails due to AZU 2186: order using only serial number (no LIMS_ID) is rejected'
    primary_ids = com.order_using_lims_web_api("case_2_serial_number", 5)
    print(primary_ids)
    ##time.sleep(10)
    com.cancel_from_primary_ids(primary_ids)

    print('------- test is done -------')