The freezerclient.tests.unit.v1.test_client_jobs Module

class freezerclient.tests.unit.v1.test_client_jobs.TestJobManager(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_abort_job_posts_proper_data(*args, **keywargs)[source]
test_abort_job_raise_ApiClientException_when_api_return_error_code(*args, **keywargs)[source]
test_create(*args, **keywargs)[source]
test_create_adds_client_id_if_not_provided(*args, **keywargs)[source]
test_create_fail_when_api_return_error_code(*args, **keywargs)[source]
test_create_leaves_provided_client_id(*args, **keywargs)[source]
test_create_ok(*args, **keywargs)[source]
test_delete_fail(*args, **keywargs)[source]
test_delete_ok(*args, **keywargs)[source]
test_get_fails_on_error_different_from_404(*args, **keywargs)[source]
test_get_none(*args, **keywargs)[source]
test_get_ok(*args, **keywargs)[source]
test_list_error(*args, **keywargs)[source]
test_list_ok(*args, **keywargs)[source]
test_start_job_posts_proper_data(*args, **keywargs)[source]
test_start_job_raise_ApiClientException_when_api_return_error_code(*args, **keywargs)[source]
test_stop_job_posts_proper_data(*args, **keywargs)[source]
test_stop_job_raise_ApiClientException_when_api_return_error_code(*args, **keywargs)[source]
test_update_ok(*args, **keywargs)[source]
test_update_raise_MetadataUpdateFailure_when_api_return_error_code(*args, **keywargs)[source]