def test_delete_job():
    time.sleep(1)
    response = rundeck_api.delete_job(del_test_job_id)
    assert response.status_code in (requests.codes.no_content, requests.codes.ok), \
        'delete_job call was unsuccessful'
dataset/ETHPy150Open marklap/rundeckrun/tests/test_api.py/test_delete_job/original